diff options
author | Einar Johan Trøan Sømåen | 2012-05-11 15:24:49 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-06-02 12:59:27 +0200 |
commit | 2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a (patch) | |
tree | 5806d048012de970f40867d0b1f246484910772c /engines/wintermute/BScriptHolder.cpp | |
parent | ded3c2a4b47a34c93c8129c58feedf2bcecd848b (diff) | |
download | scummvm-rg350-2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a.tar.gz scummvm-rg350-2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a.tar.bz2 scummvm-rg350-2ee58d2dc3f78e03f25edf7103403ee06ba9ab7a.zip |
WINTERMUTE: Add const to even more char* (Possibly the last ones)
Diffstat (limited to 'engines/wintermute/BScriptHolder.cpp')
-rw-r--r-- | engines/wintermute/BScriptHolder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/BScriptHolder.cpp b/engines/wintermute/BScriptHolder.cpp index a976ae89bb..6210ba2f38 100644 --- a/engines/wintermute/BScriptHolder.cpp +++ b/engines/wintermute/BScriptHolder.cpp @@ -106,7 +106,7 @@ HRESULT CBScriptHolder::Listen(CBScriptHolder *param1, uint32 param2) { //////////////////////////////////////////////////////////////////////////
// high level scripting interface
//////////////////////////////////////////////////////////////////////////
-HRESULT CBScriptHolder::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, char *Name) {
+HRESULT CBScriptHolder::ScCallMethod(CScScript *Script, CScStack *Stack, CScStack *ThisStack, const char *Name) {
//////////////////////////////////////////////////////////////////////////
// DEBUG_CrashMe
//////////////////////////////////////////////////////////////////////////
@@ -205,7 +205,7 @@ HRESULT CBScriptHolder::ScCallMethod(CScScript *Script, CScStack *Stack, CScStac //////////////////////////////////////////////////////////////////////////
-CScValue *CBScriptHolder::ScGetProperty(char *Name) {
+CScValue *CBScriptHolder::ScGetProperty(const char *Name) {
_scValue->SetNULL();
//////////////////////////////////////////////////////////////////////////
@@ -237,7 +237,7 @@ CScValue *CBScriptHolder::ScGetProperty(char *Name) { //////////////////////////////////////////////////////////////////////////
-HRESULT CBScriptHolder::ScSetProperty(char *Name, CScValue *Value) {
+HRESULT CBScriptHolder::ScSetProperty(const char *Name, CScValue *Value) {
//////////////////////////////////////////////////////////////////////////
// Name
//////////////////////////////////////////////////////////////////////////
|