aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2023-03-04 18:57:05 +0100
committerSteve Bennett <steveb@workware.net.au>2023-03-06 09:42:32 +1000
commitd9b7db7fc6dfffc066b521b672b2bd7c7ff212db (patch)
treef0a5f773fff1f63c0291a46154f2e985c3aa0c77
parent32a488587a3edadebd9d03f9adfe818efaf13ae6 (diff)
downloadjimtcl-d9b7db7fc6dfffc066b521b672b2bd7c7ff212db.zip
jimtcl-d9b7db7fc6dfffc066b521b672b2bd7c7ff212db.tar.gz
jimtcl-d9b7db7fc6dfffc066b521b672b2bd7c7ff212db.tar.bz2
examples.api: drop last JIM_EMBEDDED definitions
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>
-rw-r--r--examples.api/jim_command.c1
-rw-r--r--examples.api/jim_list.c1
-rw-r--r--examples.api/jim_obj.c1
-rw-r--r--examples.api/jim_return.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/examples.api/jim_command.c b/examples.api/jim_command.c
index 43dd8f4..ce9a8ac 100644
--- a/examples.api/jim_command.c
+++ b/examples.api/jim_command.c
@@ -31,7 +31,6 @@
#include <stdlib.h>
#include <string.h>
-#define JIM_EMBEDDED
#include <jim.h>
/*
diff --git a/examples.api/jim_list.c b/examples.api/jim_list.c
index 93999fd..30ceeef 100644
--- a/examples.api/jim_list.c
+++ b/examples.api/jim_list.c
@@ -31,7 +31,6 @@
#include <stdlib.h>
#include <string.h>
-#define JIM_EMBEDDED
#include <jim.h>
/*
diff --git a/examples.api/jim_obj.c b/examples.api/jim_obj.c
index 91d1e84..5b20446 100644
--- a/examples.api/jim_obj.c
+++ b/examples.api/jim_obj.c
@@ -30,7 +30,6 @@
#include <stdlib.h>
#include <string.h>
-#define JIM_EMBEDDED
#include <jim.h>
#define OBJ_DESC "hello world"
diff --git a/examples.api/jim_return.c b/examples.api/jim_return.c
index 6ad1735..4f5a272 100644
--- a/examples.api/jim_return.c
+++ b/examples.api/jim_return.c
@@ -31,7 +31,6 @@
#include <stdlib.h>
#include <string.h>
-#define JIM_EMBEDDED
#include <jim.h>
/*