diff options
author | Steve Bennett <steveb@workware.net.au> | 2009-07-27 16:54:17 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 10:11:02 +1000 |
commit | 0d360382c6a518d85d8cbd0bd18de96aa5814afa (patch) | |
tree | 4cbc4cfa5d43ec18967c8300f60269fd5a1c3dd3 | |
parent | cc08c28c0bc63e5ce95ff4f7ed1cae98cbb27cd8 (diff) | |
download | jimtcl-0d360382c6a518d85d8cbd0bd18de96aa5814afa.zip jimtcl-0d360382c6a518d85d8cbd0bd18de96aa5814afa.tar.gz jimtcl-0d360382c6a518d85d8cbd0bd18de96aa5814afa.tar.bz2 |
More static extension stuff
-rw-r--r-- | jim.h | 1 | ||||
-rw-r--r-- | jimsh.c | 17 |
2 files changed, 2 insertions, 16 deletions
@@ -817,6 +817,7 @@ JIM_EXPORT void Jim_PrintErrorMessage (Jim_Interp *interp); JIM_EXPORT int Jim_InteractivePrompt (Jim_Interp *interp); /* Misc */ +void Jim_InitStaticExtensions(Jim_Interp *interp); JIM_EXPORT void Jim_Panic (Jim_Interp *interp, const char *fmt, ...); int Jim_StringToWide(const char *str, jim_wide *widePtr, int base); @@ -119,15 +119,6 @@ static void JimLoadJimRc(Jim_Interp *interp) } } - -extern void Jim_AioInit(Jim_Interp *interp); -extern void Jim_EventloopInit(Jim_Interp *interp); -extern void Jim_RegexpInit(Jim_Interp *interp); -extern void Jim_ReaddirInit(Jim_Interp *interp); -extern void Jim_FileInit(Jim_Interp *interp); -extern void Jim_ExecInit(Jim_Interp *interp); -extern void Jim_ClockInit(Jim_Interp *interp); - int main(int argc, char *const argv[]) { int retcode, n; @@ -139,13 +130,7 @@ int main(int argc, char *const argv[]) Jim_RegisterCoreCommands(interp); /* Register static extensions */ - Jim_AioInit(interp); - Jim_EventloopInit(interp); - Jim_RegexpInit(interp); - Jim_ReaddirInit(interp); - Jim_FileInit(interp); - Jim_ExecInit(interp); - Jim_ClockInit(interp); + Jim_InitStaticExtensions(interp); /* Append the path where the executed Jim binary is contained * in the jim_libpath list. */ |