obs-scripting: Fix block comment formatting
Co-authored-by: Norihiro Kamae <norihiro@nagater.net>
This commit is contained in:
parent
0af8bdb350
commit
49b4ba8ed9
7
deps/obs-scripting/obs-scripting-python.c
vendored
7
deps/obs-scripting/obs-scripting-python.c
vendored
@ -1514,9 +1514,10 @@ void obs_python_script_save(obs_script_t *s)
|
|||||||
static void python_tick(void *param, float seconds)
|
static void python_tick(void *param, float seconds)
|
||||||
{
|
{
|
||||||
struct obs_python_script *data;
|
struct obs_python_script *data;
|
||||||
/* When loading a new Python script, the GIL might be released while importing the module,
|
/* When loading a new Python script, the GIL might be released while
|
||||||
allowing the tick to run and change and reset the cur_python_script state variable. Use the
|
* importing the module, allowing the tick to run and change and reset
|
||||||
busy_script variable to save and restore the value if not null.
|
* the cur_python_script state variable. Use the busy_script variable
|
||||||
|
* to save and restore the value if not null.
|
||||||
*/
|
*/
|
||||||
struct obs_python_script *busy_script;
|
struct obs_python_script *busy_script;
|
||||||
bool valid;
|
bool valid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user