- Timestamp:
- 11/01/08 23:50:57 (2 months ago)
- Files:
-
- 1 modified
-
v6/smop/test/01_smop_lowlevel.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/test/01_smop_lowlevel.c
r21267 r22851 26 26 SMOP__Object* identifier, 27 27 SMOP__Object* capture) { 28 if ((int)identifier == 1) {28 if ((int)identifier == SMOP__ID__new) { 29 29 printf("ok 3 - method 1 should be called early.\n"); 30 } else if ((int)identifier == 2) {30 } else if ((int)identifier == SMOP__ID__invocant) { 31 31 printf("ok 4 - method 2 should be called immediatly afterwards.\n"); 32 32 } else if (identifier == SMOP__ID__DESTROYALL) { … … 75 75 printf("ok 2 - got new interp successfully %p.\n",intrp); 76 76 77 SMOP_DISPATCH(intrp, ri, (SMOP__Object*)1, NULL);77 SMOP_DISPATCH(intrp, ri, SMOP__ID__new, NULL); 78 78 79 79 /* At this point, the destruction code for the object will be put in … … 84 84 SMOP_RELEASE(intrp, obj); 85 85 86 SMOP_DISPATCH(intrp, ri, (SMOP__Object*)2, NULL);86 SMOP_DISPATCH(intrp, ri, SMOP__ID__invocant, NULL); 87 87 88 88 SMOP_DISPATCH(intrp, SMOP_RI(intrp),
