Cleanup: move public doc-strings into headers for 'python/intern'
Ref T92709
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
#include "../mathutils/mathutils.h"
|
||||
|
||||
/* Logging types to use anywhere in the Python modules. */
|
||||
|
||||
CLG_LOGREF_DECLARE_GLOBAL(BPY_LOG_CONTEXT, "bpy.context");
|
||||
CLG_LOGREF_DECLARE_GLOBAL(BPY_LOG_INTERFACE, "bpy.interface");
|
||||
CLG_LOGREF_DECLARE_GLOBAL(BPY_LOG_RNA, "bpy.rna");
|
||||
@@ -103,7 +104,6 @@ static double bpy_timer_run; /* time for each python script run */
|
||||
static double bpy_timer_run_tot; /* accumulate python runs */
|
||||
#endif
|
||||
|
||||
/* use for updating while a python script runs - in case of file load */
|
||||
void BPY_context_update(bContext *C)
|
||||
{
|
||||
/* don't do this from a non-main (e.g. render) thread, it can cause a race
|
||||
@@ -141,7 +141,6 @@ void bpy_context_set(bContext *C, PyGILState_STATE *gilstate)
|
||||
}
|
||||
}
|
||||
|
||||
/* context should be used but not now because it causes some bugs */
|
||||
void bpy_context_clear(bContext *UNUSED(C), const PyGILState_STATE *gilstate)
|
||||
{
|
||||
py_call_level--;
|
||||
@@ -228,9 +227,6 @@ void BPY_text_free_code(Text *text)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Needed so the #Main pointer in `bpy.data` doesn't become out of date.
|
||||
*/
|
||||
void BPY_modules_update(void)
|
||||
{
|
||||
#if 0 /* slow, this runs all the time poll, draw etc 100's of time a sec. */
|
||||
@@ -323,7 +319,6 @@ static void pystatus_exit_on_error(PyStatus status)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* call BPY_context_set first */
|
||||
void BPY_python_start(bContext *C, int argc, const char **argv)
|
||||
{
|
||||
#ifndef WITH_PYTHON_MODULE
|
||||
@@ -871,9 +866,6 @@ static void bpy_module_free(void *UNUSED(mod))
|
||||
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Avoids duplicating keyword list.
|
||||
*/
|
||||
bool BPY_string_is_keyword(const char *str)
|
||||
{
|
||||
/* list is from...
|
||||
|
||||
Reference in New Issue
Block a user