aboutsummaryrefslogtreecommitdiff
path: root/examples.api
AgeCommit message (Collapse)AuthorFilesLines
2023-03-06examples.api: drop last JIM_EMBEDDED definitionsAntonio Borneo4-4/+0
The macro JIM_EMBEDDED was required to be defined before including jim.h in applications that embed jimtcl. This requirement has been dropped in 2010 with commit 2d8564100c86 ("Documentation updates") but it's use has remained for longer and it even re-appeared later in the examples.api. Drop last instances of JIM_EMBEDDED. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
2021-12-13examples.api: Remove reference to jim_inlineSteve Bennett2-7/+2
The original jim_hello was a bad example that directly used interpreter data members, so it was removed and jim_inline became jim_hello. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2020-02-13build: examples.api: Add necessary linker flagsSteve Bennett1-1/+2
Linking with -ljim may need additional libraries Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-06-12Clean up jim_return.c exampleSteve Bennett1-5/+1
Removes a warning and simplifies through the use of Jim_Length() Reported-By: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-06-12example.api: Replace string object initializationEzequiel Garcia1-6/+2
The object initialization relies on the API function: Jim_InitStringRep(), yet this function has been removed by this commit. commit 2e8b9ddb92ed1cea3054ed8180d363c9dcc72dd9 Author: Steve Bennett <steveb@workware.net.au> Date: Sat Feb 18 14:47:11 2012 +1000 Small cleanup/optimisation in object create/dup (BTW, it's not very clean to remove an API function and not even specify that in the commit message). Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
2010-10-20Small fixes to make FreeBSD happy0.63Steve Bennett1-2/+2
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-10-15Re-add some files lost from v0.51Steve Bennett8-0/+496
In particular the C examples (now in examples.api/) Signed-off-by: Steve Bennett <steveb@workware.net.au>