|
Blender
V2.59
|
#include <Python.h>#include "BLI_utildefines.h"#include "BLI_callbacks.h"#include "RNA_types.h"#include "RNA_access.h"#include "bpy_rna.h"#include "bpy_app_handlers.h"Go to the source code of this file.
Functions | |
| void | bpy_app_generic_callback (struct Main *main, struct ID *id, void *arg) |
| static PyObject * | make_app_cb_info (void) |
| PyObject * | BPY_app_handlers_struct (void) |
| void | BPY_app_handlers_reset (void) |
| void | bpy_app_generic_callback (struct Main *UNUSED(main), struct ID *id, void *arg) |
Variables | |
| static PyTypeObject | BlenderAppCbType |
| static PyStructSequence_Field | app_cb_info_fields [] |
| static PyStructSequence_Desc | app_cb_info_desc |
| static PyObject * | py_cb_array [BLI_CB_EVT_TOT] = {0} |
Definition in file bpy_app_handlers.c.
Referenced by BPY_app_handlers_struct().
Definition at line 130 of file bpy_app_handlers.c.
References GET_INT_FROM_POINTER, NULL, pyrna_struct_CreatePyObject(), and RNA_id_pointer_create().
| void BPY_app_handlers_reset | ( | void | ) |
Definition at line 120 of file bpy_app_handlers.c.
References BLI_CB_EVT_TOT, and NULL.
Referenced by load_file(), WM_init(), WM_read_file(), and WM_read_homefile().
| PyObject* BPY_app_handlers_struct | ( | void | ) |
Definition at line 90 of file bpy_app_handlers.c.
References bCallbackFuncStore::alloc, bCallbackFuncStore::arg, BlenderAppCbType, BLI_add_cb(), BLI_CB_EVT_TOT, bpy_app_generic_callback(), bCallbackFuncStore::func, make_app_cb_info(), NULL, and SET_INT_IN_POINTER.
Referenced by make_app_info().
| static PyObject* make_app_cb_info | ( | void | ) | [static] |
Definition at line 67 of file bpy_app_handlers.c.
References app_cb_info_fields, BlenderAppCbType, BLI_CB_EVT_TOT, and NULL.
Referenced by BPY_app_handlers_struct().
PyStructSequence_Desc app_cb_info_desc [static] |
{
(char *)"bpy.app.handlers",
(char *)"This module contains callbacks",
app_cb_info_fields,
(sizeof(app_cb_info_fields)/sizeof(PyStructSequence_Field)) - 1
}
Definition at line 52 of file bpy_app_handlers.c.
PyStructSequence_Field app_cb_info_fields[] [static] |
{
{(char *)"render_pre", NULL},
{(char *)"render_post", NULL},
{(char *)"load_pre", NULL},
{(char *)"load_post", NULL},
{(char *)"save_pre", NULL},
{(char *)"save_post", NULL},
{NULL}
}
Definition at line 42 of file bpy_app_handlers.c.
Referenced by make_app_cb_info().
PyTypeObject BlenderAppCbType [static] |
Definition at line 40 of file bpy_app_handlers.c.
Referenced by BPY_app_handlers_struct(), and make_app_cb_info().
PyObject* py_cb_array[BLI_CB_EVT_TOT] = {0} [static] |
Definition at line 65 of file bpy_app_handlers.c.