Actually, it is used in the macros SWIG_LUA_INIT_BASE_SEARCH, the one that is for eLua. That's why SWIGUNUSEDPARM can not be used.