diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-10-04 13:19:03 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-10-04 13:19:03 +0200 |
commit | 1ec055dfbe6db8839064d891e64e46e136c39b09 (patch) | |
tree | f88b2a89ed4c9130dc40903a8f5d9f1c24ede5fe | |
parent | 24801249d328bdb0cb046bb321dd917249ad36b6 (diff) | |
download | jimtcl-1ec055dfbe6db8839064d891e64e46e136c39b09.zip jimtcl-1ec055dfbe6db8839064d891e64e46e136c39b09.tar.gz jimtcl-1ec055dfbe6db8839064d891e64e46e136c39b09.tar.bz2 |
lists: fix crash in ListInsertElements0.51
It wasn't added to the API list => NPE
JIM_REGISTER_API(ListInsertElements);
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
-rw-r--r-- | ecos/language/tcl/jim/current/src/jim-aio.c | 2 | ||||
-rw-r--r-- | ecos/language/tcl/jim/current/src/jim-eventloop.c | 2 | ||||
-rw-r--r-- | ecos/language/tcl/jim/current/src/jim.c | 4 | ||||
-rw-r--r-- | jim.c | 1 |
4 files changed, 3 insertions, 6 deletions
diff --git a/ecos/language/tcl/jim/current/src/jim-aio.c b/ecos/language/tcl/jim/current/src/jim-aio.c index 88ccda0..88ec687 100644 --- a/ecos/language/tcl/jim/current/src/jim-aio.c +++ b/ecos/language/tcl/jim/current/src/jim-aio.c @@ -8,8 +8,6 @@ * Copyright 2008 Duane Ellis <openocd@duaneellis.com> * Copyright 2008 Uwe Klein <uklein@klein-messgeraete.de> * - * The FreeBSD license - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/ecos/language/tcl/jim/current/src/jim-eventloop.c b/ecos/language/tcl/jim/current/src/jim-eventloop.c index fae46e8..a321f9e 100644 --- a/ecos/language/tcl/jim/current/src/jim-eventloop.c +++ b/ecos/language/tcl/jim/current/src/jim-eventloop.c @@ -8,8 +8,6 @@ * Copyright 2008 Duane Ellis <openocd@duaneellis.com> * Copyright 2008 Uwe Klein <uklein@klein-messgeraete.de> * - * The FreeBSD license - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: diff --git a/ecos/language/tcl/jim/current/src/jim.c b/ecos/language/tcl/jim/current/src/jim.c index ed7ba79..5041808 100644 --- a/ecos/language/tcl/jim/current/src/jim.c +++ b/ecos/language/tcl/jim/current/src/jim.c @@ -12,8 +12,6 @@ * Copyright 2009 Zachary T Welch zw@superlucidity.net * Copyright 2009 David Brownell * - * The FreeBSD license - * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: @@ -42,6 +40,7 @@ * are those of the authors and should not be interpreted as representing * official policies, either expressed or implied, of the Jim Tcl Project. **/ + #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -9338,6 +9337,7 @@ void JimRegisterCoreApi(Jim_Interp *interp) JIM_REGISTER_API(CollectIfNeeded); JIM_REGISTER_API(GetIndex); JIM_REGISTER_API(NewListObj); + JIM_REGISTER_API(ListInsertElements); JIM_REGISTER_API(ListAppendElement); JIM_REGISTER_API(ListAppendList); JIM_REGISTER_API(ListLength); @@ -9337,6 +9337,7 @@ void JimRegisterCoreApi(Jim_Interp *interp) JIM_REGISTER_API(CollectIfNeeded); JIM_REGISTER_API(GetIndex); JIM_REGISTER_API(NewListObj); + JIM_REGISTER_API(ListInsertElements); JIM_REGISTER_API(ListAppendElement); JIM_REGISTER_API(ListAppendList); JIM_REGISTER_API(ListLength); |