aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
commit1ec055dfbe6db8839064d891e64e46e136c39b09 (patch)
treef88b2a89ed4c9130dc40903a8f5d9f1c24ede5fe
parent24801249d328bdb0cb046bb321dd917249ad36b6 (diff)
downloadjimtcl-0.51.zip
jimtcl-0.51.tar.gz
jimtcl-0.51.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.c2
-rw-r--r--ecos/language/tcl/jim/current/src/jim-eventloop.c2
-rw-r--r--ecos/language/tcl/jim/current/src/jim.c4
-rw-r--r--jim.c1
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);
diff --git a/jim.c b/jim.c
index c098b86..5041808 100644
--- a/jim.c
+++ b/jim.c
@@ -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);