You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
srs/trunk/3rdparty/st-srs/common.c

15 lines
347 B
C

/* SPDX-License-Identifier: MIT */
/* Copyright (c) 2021-2022 The SRS Authors */
#include "common.h"
void *_st_primordial_stack_bottom = NULL;
size_t _st_primordial_stack_size = 0;
void st_set_primordial_stack(void *top, void *bottom)
{
_st_primordial_stack_bottom = bottom;
_st_primordial_stack_size = (char *)top - (char *)bottom;
}