From 3224efc38419201b44503982541aca8eaeb29486 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 1 Apr 2009 12:43:07 +0000 Subject: Python Panels WIP - Register python panels - Added a generic class checking function BPY_class_validate() for panels/operators. - No button drawing yet Brecht, Added RNA_enum_value_from_id() and RNA_enum_id_from_value() to rna_access.c to do lookups between identifiers and values of EnumPropertyItem's, Not sure if these should go here. --- source/blender/python/BPY_extern.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/python/BPY_extern.h') diff --git a/source/blender/python/BPY_extern.h b/source/blender/python/BPY_extern.h index 4b7238a2f7c..690dc7144e6 100644 --- a/source/blender/python/BPY_extern.h +++ b/source/blender/python/BPY_extern.h @@ -139,7 +139,8 @@ extern "C" { void BPY_scripts_clear_pyobjects( void ); void error_pyscript( void ); - + void BPY_DECREF(void *pyob_ptr); /* Py_DECREF() */ + /* void BPY_Err_Handle(struct Text *text); */ /* void BPY_clear_bad_scriptlink(struct ID *id, struct Text *byebye); */ /* void BPY_clear_bad_scriptlist(struct ListBase *, struct Text *byebye); */ -- cgit v1.2.3