diff options
| author | Steve Bennett <steveb@workware.net.au> | 2021-12-13 21:31:00 +1000 |
|---|---|---|
| committer | Steve Bennett <steveb@workware.net.au> | 2021-12-13 21:31:00 +1000 |
| commit | 7a518896462aef645e278e7191bb5af12f0fc25a (patch) | |
| tree | 3ef114df5cc6b2790eaf69141d3ebbe1385aa19b /examples.api/jim_hello.c | |
| parent | 24b234543c7322d2dd20339b45367fa3f4c53495 (diff) | |
| download | jimtcl-7a518896462aef645e278e7191bb5af12f0fc25a.zip jimtcl-7a518896462aef645e278e7191bb5af12f0fc25a.tar.gz jimtcl-7a518896462aef645e278e7191bb5af12f0fc25a.tar.bz2 | |
examples.api: Remove reference to jim_inline
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>
Diffstat (limited to 'examples.api/jim_hello.c')
| -rw-r--r-- | examples.api/jim_hello.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples.api/jim_hello.c b/examples.api/jim_hello.c index 831fcc7..2c817e7 100644 --- a/examples.api/jim_hello.c +++ b/examples.api/jim_hello.c @@ -48,8 +48,7 @@ main(int argc, char **argv) /* And initialise any static extensions */ Jim_InitStaticExtensions(interp); - - /* Print a string to standard output */ + /* Print a string to standard output by evaluating a script with the interpreter */ Jim_Eval(interp, "puts {Hello world!}"); /* Free the interpreter */ |
