| 290 | COMMANDF(isIdent, "s", (char *name) { intret(identexists(name) ? 1 : 0); }); |
| 291 | |
| 292 | bool addcommand(const char *name, void (*fun)(), const char *sig) |
| 293 | { |
| 294 | ASSERT(strlen(sig) < 9); |
| 295 | if(!idents) idents = new hashtable<const char *, ident>; |
| 296 | ident c(ID_COMMAND, name, fun, sig, IEXC_CORE); |
| 297 | idents->access(name, c); |
| 298 | return false; |
| 299 | } |
| 300 | |
| 301 | inline char *parsequotes(const char *&p) |
| 302 | { |