I have a struct which stores all c++ commands.
Expand|Select|Wrap|Line Numbers
- struct _Commands
- {
- const xmlChar* Name;
- const xmlChar* Args;
- void *Command;
- } Commands[1024];
Expand|Select|Wrap|Line Numbers
- (void*)Commands[i].Command();
Embedded Scripting
|