diff options
author | Evan Hunter <evan@ozhiker.com> | 2016-10-08 11:31:53 +0100 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2016-10-09 09:39:03 +1000 |
commit | 65b4e1a8afb98d9b28f116cedcee9956f0730f1f (patch) | |
tree | c8e650ab8763966b8155af3daf4d56ce5a6af4c4 /jim.h | |
parent | f5e2c517999777060b8dfc1baf38c67cac5702e7 (diff) | |
download | jimtcl-65b4e1a8afb98d9b28f116cedcee9956f0730f1f.zip jimtcl-65b4e1a8afb98d9b28f116cedcee9956f0730f1f.tar.gz jimtcl-65b4e1a8afb98d9b28f116cedcee9956f0730f1f.tar.bz2 |
Fix C++ compatibility
Compiling for C++ (as is needed for Metakit extension) generates an
error due to the use of the reserved word 'template' as an argument
name.
Renaming this argument
Diffstat (limited to 'jim.h')
-rw-r--r-- | jim.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -608,7 +608,7 @@ JIM_EXPORT char *Jim_StrDupLen(const char *s, int l); /* environment */ JIM_EXPORT char **Jim_GetEnviron(void); JIM_EXPORT void Jim_SetEnviron(char **env); -JIM_EXPORT int Jim_MakeTempFile(Jim_Interp *interp, const char *template); +JIM_EXPORT int Jim_MakeTempFile(Jim_Interp *interp, const char *filename_template); /* evaluation */ JIM_EXPORT int Jim_Eval(Jim_Interp *interp, const char *script); |