*** empty log message ***

This commit is contained in:
Roger Hughston 2005-05-24 03:10:57 +00:00
parent a4c411ec11
commit 2dc2a3dd3f
2 changed files with 6 additions and 2 deletions

View File

@ -431,9 +431,11 @@ DTOOL_C_LINKAGE inline PyObject * DTool_CreatePyInstance(void * local_this, Dto
// Macro(s) class definition .. Used to allocate storage and
// init some values for a Dtool Py Type object.
/////////////////////////////////////////////////////////////////////////////////
//struct PyMethodDef Dtool_Methods_##CLASS_NAME[];
#define Define_Module_Class_Forward(MODULE_NAME,CLASS_NAME,CNAME,PUBLIC_NAME)\
IMPORT_THIS Dtool_PyTypedObject Dtool_##CLASS_NAME; \
extern PyMethodDef Dtool_Methods_##CLASS_NAME[];\
struct PyMethodDef Dtool_Methods_##CLASS_NAME[];\
DTOOL_C_LINKAGE int Dtool_Init_##CLASS_NAME(PyObject *self, PyObject *args, PyObject *kwds);\
DTOOL_C_LINKAGE PyObject *Dtool_new_##CLASS_NAME(PyTypeObject *type, PyObject *args, PyObject *kwds);\
DTOOL_C_LINKAGE void * Dtool_UpcastInterface_##CLASS_NAME(PyObject *self, Dtool_PyTypedObject *requested_type);\
@ -444,7 +446,7 @@ DTOOL_C_LINKAGEvoid Dtool_PyModuleClassInit_##CLASS_NAME(PyObject *module);\
///////////////////////////////////////////////////////////////////////////////
#define Define_Module_Class_Internal(MODULE_NAME,CLASS_NAME,CNAME)\
extern "C" Dtool_PyTypedObject Dtool_##CLASS_NAME; \
extern PyMethodDef Dtool_Methods_##CLASS_NAME[];\
struct PyMethodDef Dtool_Methods_##CLASS_NAME[];\
DTOOL_C_LINKAGE int Dtool_Init_##CLASS_NAME(PyObject *self, PyObject *args, PyObject *kwds);\
DTOOL_C_LINKAGE PyObject *Dtool_new_##CLASS_NAME(PyTypeObject *type, PyObject *args, PyObject *kwds);\
DTOOL_C_LINKAGE void * Dtool_UpcastInterface_##CLASS_NAME(PyObject *self, Dtool_PyTypedObject *requested_type);\

View File

@ -23,6 +23,8 @@
#include "configVariable.h"
#include "filename.h"
////////////////////////////////////////////////////////////////////
// Class : ConfigVariableFilename
// Description : This is a convenience class to specialize