Changeset 22540
- Timestamp:
- 10/08/08 20:13:00 (6 weeks ago)
- Location:
- v6/smop
- Files:
-
- 1 added
- 5 modified
-
CMakeLists.txt (modified) (2 diffs)
-
include/smop_s1p.h (modified) (1 diff)
-
src/internal.h (modified) (2 diffs)
-
src/s1p_ccode.c (modified) (1 diff)
-
src/s1p_ritest.c (added)
-
test/38_ritest.m0ld (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
v6/smop/CMakeLists.txt
r22533 r22540 146 146 src/s1p_scalar.c 147 147 src/s1p_str.c 148 src/s1p_ritest.c 148 149 src/slime_capturize.c 149 150 src/slime_currentframe.c … … 196 197 test/35_array_grep.m0ld 197 198 test/36_adhoc_signature.m0ld 199 test/38_ritest.m0ld 198 200 ) 199 201 set(c_file) -
v6/smop/include/smop_s1p.h
r22525 r22540 27 27 extern SMOP__Object* SMOP__S1P__AdhocSignature; 28 28 extern SMOP__Object* SMOP__S1P__PurePrototypeHow; 29 extern SMOP__Object* SMOP__S1P__ritest; 29 30 extern SMOP__Object* SMOP__GlobalInterpreter; 30 31 -
v6/smop/src/internal.h
r22533 r22540 103 103 smop_s1p_grep_mold_init(); \ 104 104 smop_s1p_array_iterator_mold_init(); \ 105 smop_s1p_ritest_init(); \ 105 106 106 107 #define SMOP_BOOTSTRAP_DESTR_SEQUENCE \ 108 smop_s1p_ritest_destr(); \ 107 109 smop_s1p_array_iterator_mold_destr(); \ 108 110 smop_s1p_grep_mold_destr(); \ … … 174 176 void smop_s1p_endofiterator_init(); 175 177 void smop_s1p_endofiterator_destr(); 178 void smop_s1p_ritest_init(); 179 void smop_s1p_ritest_destr(); 176 180 177 181 #endif -
v6/smop/src/s1p_ccode.c
r22512 r22540 46 46 47 47 ret = func(interpreter,invocant,actualcap); 48 48 49 49 SMOP_RELEASE(interpreter,capture); 50 50 SMOP_RELEASE(interpreter,invocant); -
v6/smop/test/38_ritest.m0ld
r22538 r22540 2 2 my $scope; 3 3 my $void; 4 5 my $out_scalar = ¢SMOP__S1P__RootNamespace."postcircumfix:{ }"("$*OUT"); 6 my $out = $out_scalar."FETCH"(); 4 7 5 8 $void = $out."print"("1..3\n"); … … 18 21 19 22 nexttest: 20 $test = ¢SMOP__S1P__ritest."postcircumfix:( ) ("test", ¢SMOP__NATIVE__int);23 $test = ¢SMOP__S1P__ritest."postcircumfix:( )"("test", ¢SMOP__NATIVE__int); 21 24 $bool = $test."bool"(); 22 25
