mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
till trying to get this to work on none consistant compilers..
This commit is contained in:
parent
e3f06880ae
commit
a4515f26c9
@ -1176,7 +1176,7 @@ void InterfaceMakerPythonNative::write_module_class(ostream &out, Object *obj)
|
||||
out << "//********************************************************************\n";
|
||||
out << "//*** Py Init Code For .. "<< ClassName <<" | " << export_calss_name <<"\n" ;
|
||||
out << "//********************************************************************\n";
|
||||
out << "static PyMethodDef Dtool_Methods_"<< ClassName << "[]= {\n";
|
||||
out << "PyMethodDef Dtool_Methods_"<< ClassName << "[]= {\n";
|
||||
|
||||
|
||||
|
||||
|
@ -427,8 +427,8 @@ inline PyObject * DTool_CreatePyInstance(void * local_this, Dtool_PyTypedObject
|
||||
//struct Dtool_PyTypedObject Dtool_##CLASS_NAME; \
|
||||
|
||||
#define Define_Module_Class_Internal(MODULE_NAME,CLASS_NAME,CNAME)\
|
||||
extern EXPORT_THIS Dtool_PyTypedObject Dtool_##CLASS_NAME; \
|
||||
extern struct PyMethodDef Dtool_Methods_##CLASS_NAME[];\
|
||||
extern EXPORT_THIS Dtool_PyTypedObject Dtool_##CLASS_NAME; \
|
||||
extern struct PyMethodDef Dtool_Methods_##CLASS_NAME[];\
|
||||
int Dtool_Init_##CLASS_NAME(PyObject *self, PyObject *args, PyObject *kwds);\
|
||||
PyObject * Dtool_new_##CLASS_NAME(PyTypeObject *type, PyObject *args, PyObject *kwds);\
|
||||
void * Dtool_UpcastInterface_##CLASS_NAME(PyObject *self, Dtool_PyTypedObject *requested_type);\
|
||||
|
Loading…
x
Reference in New Issue
Block a user