diff options
author | Steve Bennett <steveb@workware.net.au> | 2009-07-27 10:11:30 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 10:11:01 +1000 |
commit | 0423aa4420d853a8f81a0579910d7f39b720f851 (patch) | |
tree | 65d9210088f9986fc6a1ca25a05c044d8f024000 /jimsh.c | |
parent | b991f24341f4eaf7da1c32f8362ccb2a2d4dc355 (diff) | |
download | jimtcl-0423aa4420d853a8f81a0579910d7f39b720f851.zip jimtcl-0423aa4420d853a8f81a0579910d7f39b720f851.tar.gz jimtcl-0423aa4420d853a8f81a0579910d7f39b720f851.tar.bz2 |
Strip out unneeded junk from Jim
Nvp, getopt, move interactive processing to jim-interactive.c
Diffstat (limited to 'jimsh.c')
-rw-r--r-- | jimsh.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -125,12 +125,16 @@ int main(int argc, char *const argv[]) Jim_Interp *interp; Jim_Obj *listObj; - Jim_InitEmbedded(); /* This is the first function embedders should call. */ - /* Create and initialize the interpreter */ interp = Jim_CreateInterp(); Jim_RegisterCoreCommands(interp); + /* Register static extensions */ + Jim_AioInit(interp); + Jim_EventloopInit(interp); + Jim_RegexpInit(interp); + Jim_ReaddirInit(interp); + /* Append the path where the executed Jim binary is contained * in the jim_libpath list. */ listObj = Jim_GetVariableStr(interp, "jim_libpath", JIM_NONE); |