@@ -169,7 +169,7 @@ def createLUABindings(inputPath, prefix, mainInclude, libSmallName, libName, api
169169 f = open (fileName ) # Def: Input file handle
170170 contents = f .read ().replace ("_PolyExport" , "" ) # Def: Input file contents, strip out "_PolyExport"
171171 cppHeader = CppHeaderParser .CppHeader (contents , "string" ) # Def: Input file contents, parsed structure
172- ignore_classes = ["PolycodeShaderModule" , "Object" , "Threaded" , "OpenGLCubemap" , "PolyBase" ]
172+ ignore_classes = ["PolycodeShaderModule" , "Object" , "Threaded" , "OpenGLCubemap" , "PolyBase" , "Matrix4::union " ]
173173
174174 # Iterate, check each class in this file.
175175 for ckey in cppHeader .classes :
@@ -194,11 +194,12 @@ def createLUABindings(inputPath, prefix, mainInclude, libSmallName, libName, api
194194 luaClassBindingOut += "class \" %s\" \n \n " % ckey
195195
196196 if ckey in ignore_classes :
197+ print ("INGORING class %s" % ckey )
197198 continue
198199
199- if len (c ["methods" ]["public" ]) < 2 : # Used to, this was a continue.
200- print ("Warning: Lua-binding class with less than two methods" )
201- continue # FIXME: Remove this, move any non-compileable classes into ignore_classes
200+ # if len(c["methods"]["public"]) < 2: # Used to, this was a continue.
201+ # print("Warning: Lua-binding class with less than two methods")
202+ # continue # FIXME: Remove this, move any non-compileable classes into ignore_classes
202203
203204 extendString = ""
204205 if len (c ["inherits" ]) > 0 :
0 commit comments