|
Blender
V2.59
|
Go to the source code of this file.
Functions | |
| int | PyC_AsArray (void *array, PyObject *value, const int length, const PyTypeObject *type, const short is_double, const char *error_prefix) |
| void | PyC_ObSpit (const char *name, PyObject *var) |
| void | PyC_LineSpit (void) |
| void | PyC_FileAndNum (const char **filename, int *lineno) |
| PyObject * | PyC_Object_GetAttrStringArgs (PyObject *o, Py_ssize_t n,...) |
| PyObject * | PyC_ExceptionBuffer (void) |
| const char * | PyC_UnicodeAsByte (PyObject *py_str, PyObject **coerce) |
| PyObject * | PyC_UnicodeFromByte (const char *str) |
| PyObject * | PyC_DefaultNameSpace (const char *filename) |
| void | PyC_MainModule_Backup (PyObject **main_mod) |
| void | PyC_MainModule_Restore (PyObject *main_mod) |
| void | PyC_SetHomePath (const char *py_path_bundle) |
| void | PyC_RunQuicky (const char *filepath, int n,...) |
Definition in file py_capi_utils.c.
| int PyC_AsArray | ( | void * | array, |
| PyObject * | value, | ||
| const int | length, | ||
| const PyTypeObject * | type, | ||
| const short | is_double, | ||
| const char * | error_prefix | ||
| ) |
Definition at line 40 of file py_capi_utils.c.
Referenced by BPy_BoolVectorProperty(), BPy_FloatVectorProperty(), BPy_IDArray_ass_slice(), and BPy_IntVectorProperty().
| PyObject* PyC_DefaultNameSpace | ( | const char * | filename | ) |
Definition at line 332 of file py_capi_utils.c.
Referenced by BPY_button_exec(), BPY_string_exec(), PyC_RunQuicky(), and python_script_exec().
| PyObject* PyC_ExceptionBuffer | ( | void | ) |
Definition at line 212 of file py_capi_utils.c.
References NULL.
Referenced by BPy_errors_to_report(), pointer_type_from_py(), and pyrna_py_to_prop().
| void PyC_FileAndNum | ( | const char ** | filename, |
| int * | lineno | ||
| ) |
Definition at line 146 of file py_capi_utils.c.
References NULL.
Referenced by BPy_errors_to_report(), and PyC_LineSpit().
| void PyC_LineSpit | ( | void | ) |
Definition at line 129 of file py_capi_utils.c.
References PyC_FileAndNum(), and PYC_INTERPRETER_ACTIVE.
Referenced by RNA_warning(), Vector_imul(), and Vector_mul().
| void PyC_MainModule_Backup | ( | PyObject ** | main_mod | ) |
Definition at line 347 of file py_capi_utils.c.
Referenced by BPY_button_exec(), BPY_string_exec(), and python_script_exec().
| void PyC_MainModule_Restore | ( | PyObject * | main_mod | ) |
Definition at line 354 of file py_capi_utils.c.
Referenced by BPY_string_exec(), and python_script_exec().
| PyObject* PyC_Object_GetAttrStringArgs | ( | PyObject * | o, |
| Py_ssize_t | n, | ||
| ... | |||
| ) |
Definition at line 186 of file py_capi_utils.c.
References i.
| void PyC_ObSpit | ( | const char * | name, |
| PyObject * | var | ||
| ) |
Definition at line 110 of file py_capi_utils.c.
References NULL.
Referenced by bpy_class_free(), PyC_RunQuicky(), pyrna_srna_ExternalType(), and pyrna_subtype_set_rna().
| void PyC_RunQuicky | ( | const char * | filepath, |
| int | n, | ||
| ... | |||
| ) |
Definition at line 404 of file py_capi_utils.c.
References i, NULL, PyC_DefaultNameSpace(), and PyC_ObSpit().
| void PyC_SetHomePath | ( | const char * | py_path_bundle | ) |
Definition at line 362 of file py_capi_utils.c.
References BLI_setenv(), NULL, and utf8towchar().
Referenced by BPY_python_start().
| const char* PyC_UnicodeAsByte | ( | PyObject * | py_str, |
| PyObject ** | coerce | ||
| ) |
Definition at line 284 of file py_capi_utils.c.
Referenced by BPy_IDProperty_Map_ValidateAndCreate(), and pyrna_py_to_prop().
| PyObject* PyC_UnicodeFromByte | ( | const char * | str | ) |
Definition at line 304 of file py_capi_utils.c.
Referenced by bpy_app_tempdir_get(), BPy_IDGroup_MapDataToPy(), BPy_IDGroup_WrapData(), BPY_python_start(), pyrna_param_to_py(), and pyrna_prop_to_py().