Cleanup: move public doc-strings into headers for 'python/intern'

Ref T92709
This commit is contained in:
2021-12-10 21:40:53 +11:00
parent 3060217d39
commit 63f8d18c0f
6 changed files with 38 additions and 27 deletions

View File

@@ -75,6 +75,9 @@ void BPY_thread_restore(BPy_ThreadStatePtr tstate);
(void)0
void BPY_text_free_code(struct Text *text);
/**
* Needed so the #Main pointer in `bpy.data` doesn't become out of date.
*/
void BPY_modules_update(void);
void BPY_modules_load_user(struct bContext *C);
@@ -103,6 +106,9 @@ int BPY_context_member_get(struct bContext *C,
const char *member,
struct bContextDataResult *result);
void BPY_context_set(struct bContext *C);
/**
* Use for updating while a python script runs - in case of file load.
*/
void BPY_context_update(struct bContext *C);
#define BPY_context_dict_clear_members(C, ...) \
@@ -127,6 +133,9 @@ void BPY_context_dict_clear_members_array(void **dict_p,
void BPY_id_release(struct ID *id);
/**
* Avoids duplicating keyword list.
*/
bool BPY_string_is_keyword(const char *str);
/* bpy_rna_callback.c */