aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-05-12 08:06:55 +0200
committerEinar Johan Trøan Sømåen2012-06-02 13:02:47 +0200
commit753781f9725507049e8050ccfed6f8ecf291c540 (patch)
tree7b771a59f8d45d130234b4228e8d78deba9e78d6 /engines
parent16f1a45844d89901e2667d800cea33b02f113b8f (diff)
downloadscummvm-rg350-753781f9725507049e8050ccfed6f8ecf291c540.tar.gz
scummvm-rg350-753781f9725507049e8050ccfed6f8ecf291c540.tar.bz2
scummvm-rg350-753781f9725507049e8050ccfed6f8ecf291c540.zip
WINTERMUTE: Break the binary interface, to fix another truckload of warnings.
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/scriptables/ScEngine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/scriptables/ScEngine.h b/engines/wintermute/scriptables/ScEngine.h
index c633a98d6c..5ba93d6d0e 100644
--- a/engines/wintermute/scriptables/ScEngine.h
+++ b/engines/wintermute/scriptables/ScEngine.h
@@ -42,7 +42,7 @@ typedef byte *(*DLL_COMPILE_BUFFER)(byte *Buffer, char *Source, uint32 BufferSi
typedef byte *(*DLL_COMPILE_FILE)(char *Filename, uint32 *CompiledSize);
typedef void (*DLL_RELEASE_BUFFER)(unsigned char *Buffer);
typedef void (*DLL_SET_CALLBACKS)(CALLBACKS *callbacks, void *Data);
-typedef int (*DLL_DEFINE_FUNCTION)(char *Name);
+typedef int (*DLL_DEFINE_FUNCTION)(const char *Name);
typedef int (*DLL_DEFINE_VARIABLE)(char *Name);
typedef void (*COMPILE_ERROR_CALLBACK)(int Line, char *Text , void *Data);