use Jim_CmdProc in jim_register

The jim_register command just needed to use the type defined by jim.h.
This commit is contained in:
Zachary T Welch
2009-11-15 04:05:33 -08:00
parent 0a9daddc2e
commit df9b12695f
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -190,7 +190,8 @@ extern int fast_and_dangerous;
extern Jim_Interp *interp;
void register_jim(struct command_context *context, const char *name, int (*cmd)(Jim_Interp *interp, int argc, Jim_Obj *const *argv), const char *help);
void register_jim(struct command_context *context, const char *name,
Jim_CmdProc cmd, const char *help);
long jim_global_long(const char *variable);