aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/scriptables/SXMemBuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/scriptables/SXMemBuffer.h')
-rw-r--r--engines/wintermute/Base/scriptables/SXMemBuffer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/Base/scriptables/SXMemBuffer.h b/engines/wintermute/Base/scriptables/SXMemBuffer.h
index 775f8247b2..9a8746288c 100644
--- a/engines/wintermute/Base/scriptables/SXMemBuffer.h
+++ b/engines/wintermute/Base/scriptables/SXMemBuffer.h
@@ -39,8 +39,8 @@ public:
virtual int scCompare(CBScriptable *Val);
DECLARE_PERSISTENT(CSXMemBuffer, CBScriptable)
CScValue *scGetProperty(const char *name);
- ERRORCODE scSetProperty(const char *name, CScValue *value);
- ERRORCODE scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
+ bool scSetProperty(const char *name, CScValue *value);
+ bool scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
const char *scToString();
CSXMemBuffer(CBGame *inGame, CScStack *stack);
CSXMemBuffer(CBGame *inGame, void *buffer);
@@ -48,7 +48,7 @@ public:
virtual void *scToMemBuffer();
int _size;
private:
- ERRORCODE resize(int newSize);
+ bool resize(int newSize);
void *_buffer;
void cleanup();
bool checkBounds(CScScript *script, int start, int length);