mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-01 00:27:44 +00:00
better var name in EXPOSE_SCRIPT macro
This commit is contained in:
parent
966f51b76a
commit
843ed1381f
1 changed files with 1 additions and 1 deletions
|
@ -6,6 +6,6 @@
|
||||||
|
|
||||||
#include <Event/EventDefs.h>
|
#include <Event/EventDefs.h>
|
||||||
|
|
||||||
#define EXPOSE_SCRIPT( x ) Sapphire::ScriptAPI::ScriptObject* makeScript##x() { return new x; }
|
#define EXPOSE_SCRIPT( className ) Sapphire::ScriptAPI::ScriptObject* makeScript##className() { return new className; }
|
||||||
|
|
||||||
#endif //SAPPHIRE_SCRIPTOBJECT_H
|
#endif //SAPPHIRE_SCRIPTOBJECT_H
|
||||||
|
|
Loading…
Add table
Reference in a new issue