Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / gameengine / Expressions / PyObjectPlus.h
index f9edb78..e9e81dd 100644 (file)
@@ -86,7 +86,7 @@ typedef struct {
 
 
 
-typedef struct PyObjectPlus_Proxy {
+typedef struct {
        PyObject_HEAD           /* required python macro   */
        class PyObjectPlus *ref;
        bool py_owns;
@@ -99,9 +99,6 @@ typedef struct PyObjectPlus_Proxy {
 /* Note, sometimes we dont care what BGE type this is as long as its a proxy */
 #define BGE_PROXY_CHECK_TYPE(_type) ((_type)->tp_dealloc == PyObjectPlus::py_base_dealloc)
 
-/* Opposite of BGE_PROXY_REF */
-#define BGE_PROXY_FROM_REF(_self) (((PyObjectPlus *)_self)->GetProxy())
-
 
                                                                // This must be the first line of each 
                                                                // PyC++ class