mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
compilation errors
This commit is contained in:
parent
13552a7041
commit
94ed0c76c2
@ -45,7 +45,7 @@
|
|||||||
// SPAWN_THREAD call. The wrapper will in turn call the method
|
// SPAWN_THREAD call. The wrapper will in turn call the method
|
||||||
// function you provide.
|
// function you provide.
|
||||||
#define THREAD_CALLBACK_DECLARATION(class, callback_function) \
|
#define THREAD_CALLBACK_DECLARATION(class, callback_function) \
|
||||||
static DWORD class:: \
|
static DWORD WINAPI class:: \
|
||||||
win_ ## callback_function(LPVOID data) { \
|
win_ ## callback_function(LPVOID data) { \
|
||||||
((class *)data)->callback_function(); \
|
((class *)data)->callback_function(); \
|
||||||
return 0; \
|
return 0; \
|
||||||
|
@ -185,4 +185,6 @@ get_class_definition() {
|
|||||||
_browser_object_class->_set_property = &object_set_property;
|
_browser_object_class->_set_property = &object_set_property;
|
||||||
_browser_object_class->_call = &object_call;
|
_browser_object_class->_call = &object_call;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return _browser_object_class;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user