]> git.sur5r.net Git - openocd/commitdiff
jim: fix crash when using Jim_ListInsertElements
authorØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 12 Sep 2010 18:16:55 +0000 (20:16 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Sun, 12 Sep 2010 18:18:43 +0000 (20:18 +0200)
Jim_ListInsertElements was simply forgotten from the
fn that registered all the APIs.

Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
src/helper/jim.c

index 071e5575b09958e1e80761c0f449118ad6721e95..bb7483872413ca4f0fec5485eb90b5461b5c30a2 100644 (file)
@@ -9296,6 +9296,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);