Blender V2.61 - r43446
Functions | Variables

bpy_internal_import.h File Reference

Go to the source code of this file.

Functions

void bpy_import_init (PyObject *builtins)
PyObject * bpy_text_import (struct Text *text)
PyObject * bpy_text_import_name (const char *name, int *found)
PyObject * bpy_text_reimport (PyObject *module, int *found)
void bpy_text_filename_get (char *fn, size_t fn_len, struct Text *text)
struct Mainbpy_import_main_get (void)
void bpy_import_main_set (struct Main *maggie)

Variables

PyMethodDef bpy_import_meth
PyMethodDef bpy_reload_meth

Detailed Description

Definition in file bpy_internal_import.h.


Function Documentation

void bpy_import_init ( PyObject *  builtins)

Definition at line 57 of file bpy_internal_import.c.

References BLI_assert, bpy_import_meth, bpy_reload_meth, mod(), and NULL.

Referenced by BPY_python_start().

struct Main* bpy_import_main_get ( void  ) [read]

Definition at line 85 of file bpy_internal_import.c.

References bpy_import_main.

Referenced by BPY_string_exec().

void bpy_import_main_set ( struct Main maggie)
void bpy_text_filename_get ( char *  fn,
size_t  fn_len,
struct Text text 
)

Definition at line 96 of file bpy_internal_import.c.

References BLI_snprintf(), Text::id, ID_BLEND_PATH, ID::name, and SEP.

Referenced by bpy_text_import(), and python_script_exec().

PyObject* bpy_text_import ( struct Text text)
PyObject* bpy_text_import_name ( const char *  name,
int *  found 
)
PyObject* bpy_text_reimport ( PyObject *  module,
int *  found 
)

Variable Documentation

PyMethodDef bpy_import_meth

Definition at line 315 of file bpy_internal_import.c.

Referenced by bpy_import_init().

PyMethodDef bpy_reload_meth

Definition at line 316 of file bpy_internal_import.c.

Referenced by bpy_import_init().