- update to constant.c
- give it the key/items interface - creates some factory functions for const generation - genutils methods - method for getting module constants - method for throwing errors with a print string - updates to function names - clean up interpreter launch a bit
This commit is contained in:
@@ -51,6 +51,8 @@
|
||||
#define Py_RETURN_NONE Py_INCREF( Py_None ); return Py_None
|
||||
#endif
|
||||
|
||||
PyObject *EXPP_GetModuleConstant(char *module, char *constant);
|
||||
|
||||
int StringEqual( const char *string1, const char *string2 );
|
||||
char *GetIdName( ID * id );
|
||||
ID *GetIdFromList( ListBase * list, char *name );
|
||||
@@ -73,6 +75,9 @@ PyObject *EXPP_incr_ret_False(void);
|
||||
PyObject *EXPP_ReturnPyObjError( PyObject * type, char *error_msg );
|
||||
int EXPP_ReturnIntError( PyObject * type, char *error_msg );
|
||||
|
||||
PyObject *EXPP_objError(PyObject *type, const char *format, ...);
|
||||
int EXPP_intError(PyObject *type, const char *format, ...);
|
||||
|
||||
int EXPP_check_sequence_consistency( PyObject * seq, PyTypeObject * against );
|
||||
PyObject *EXPP_tuple_repr( PyObject * self, int size );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user