mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
a4c411ec11
commit
2dc2a3dd3f
@ -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);\
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "configVariable.h"
|
||||
#include "filename.h"
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Class : ConfigVariableFilename
|
||||
// Description : This is a convenience class to specialize
|
||||
|
Loading…
x
Reference in New Issue
Block a user