OOLUA_PROXY function binding limited to 15

Issue #19 resolved
Carlos Pérez
created an issue

When I export more than 15 functions from a class with OOLUA_MFUNC or with OOLUA_MEMFUNC the compilation fails. I thought the functions aren't the problem because if I replace functions by others it Works but only with the 15 limit.

The error consist of a "undeclared identifier error" of each function.

OOLUA_PROXY(GameObject)
OOLUA_MFUNC(getComponentCollision)
OOLUA_MFUNC(addComponentByName)
OOLUA_MFUNC(setCat)
OOLUA_MFUNC(setPos)
OOLUA_MFUNC(setCollisionRect)
OOLUA_MFUNC(setText)
OOLUA_MFUNC(addComponentSprite)
OOLUA_MFUNC(addComponentIA)
OOLUA_MFUNC(frameConfiguration)
OOLUA_MFUNC(changeAnimation)
OOLUA_MFUNC(onRadius)
OOLUA_MFUNC(isTargetLeft)
OOLUA_MFUNC(isTargetRight)
OOLUA_MFUNC(goRight)
OOLUA_MFUNC(goLeft)
OOLUA_MFUNC(patternEnd)
OOLUA_MFUNC(goLeftDistance)
OOLUA_MFUNC(goRightDistance)
OOLUA_PROXY_END


OOLUA_EXPORT_FUNCTIONS(GameObject, getComponentCollision, addComponentByName, setCat, setPos, setCollisionRect, setText,
                                    addComponentSprite, addComponentIA, frameConfiguration, changeAnimation, onRadius,
                                    isTargetLeft, isTargetRight, goLeft, goRight, goRightDistance, goLeftDistance, patternEnd) 
OOLUA_EXPORT_FUNCTIONS_CONST(GameObject)

There are 18 functions, if I quit 3 from the export it works. The question is: There is a limit?

Comments (5)

  1. Log in to comment