Wrapped the SCI engine in the Sci namespace.

svn-id: r38676
This commit is contained in:
Oystein Eftevaag 2009-02-21 10:23:36 +00:00
parent 44ea796610
commit 25f7c37171
158 changed files with 592 additions and 14 deletions

View file

@ -27,6 +27,8 @@
#include "sci/include/engine.h"
#include "sci/engine/kernel_types.h"
namespace Sci {
reg_t read_selector(state_t *s, reg_t object, selector_t selector_id, const char *file, int line) {
reg_t *address;
@ -293,3 +295,5 @@ reg_t kRespondsTo(state_t *s, int funct_nr, int argc, reg_t *argv) {
return make_reg(0, is_heap_object(s, obj) && lookup_selector(s, obj, selector, NULL, NULL) != SELECTOR_NONE);
}
} // End of namespace Sci