18 Jim_Obj *
const *argv)
21 Jim_WrongNumArgs(interp, 1, argv,
"ls ?dir?");
27 Jim_SetResult(interp, Jim_NewIntObj(interp, (
int)
timeval_ms()));
39 "Returns ever increasing milliseconds. Used to calculate differences in time.",
#define COMMAND_REGISTRATION_DONE
Use this as the last entry in an array of command_registration records.
static int register_commands(struct command_context *cmd_ctx, const char *cmd_prefix, const struct command_registration *cmds)
Register one or more commands in the specified context, as children of parent (or top-level commends,...
static int jim_util_ms(Jim_Interp *interp, int argc, Jim_Obj *const *argv)
static const struct command_registration util_command_handlers[]
int util_init(struct command_context *cmd_ctx)