- Timestamp:
- 09/24/08 14:39:39 (2 months ago)
- Files:
-
- 1 modified
-
v6/smop/src/smop_haskell_ffi.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/src/smop_haskell_ffi.c
r22263 r22336 1 1 #include <smop.h> 2 2 #include <smop_s1p.h> 3 #include <smop_lowlevel.h> 3 4 SMOP__Object* smop_dispatch(SMOP__Object* interpreter,SMOP__Object* ri,SMOP__Object* identifier,SMOP__Object* capture) { 4 5 return SMOP_DISPATCH(interpreter,ri,identifier,capture); … … 6 7 SMOP__Object* smop_release(SMOP__Object* interpreter,SMOP__Object* obj) { 7 8 return SMOP_RELEASE(interpreter,obj); 9 } 10 SMOP__Object* smop_release_with_global(SMOP__Object* obj) { 11 // printf("obj.refcount=%d\n",((SMOP_LOWLEVEL_INTERNAL*)obj->data)->ref_cnt); 12 // printf("interpreter.refcount=%d\n",((SMOP_LOWLEVEL_INTERNAL*)SMOP__GlobalInterpreter->data)->ref_cnt); 13 return SMOP_RELEASE(SMOP__GlobalInterpreter,obj); 8 14 } 9 15 SMOP__Object* smop_reference(SMOP__Object* interpreter,SMOP__Object* obj) {
