Am Freitag, 21. Juli 2006 20:08 schrieb chromatic: > On Friday 21 July 2006 00:57, Leopold Toetsch wrote: > > (You could use 'pIt' and 'pIp' signatures too, then the STRING* result of > > the 'const_string' would be wrapped into a ManagedStruct PMC). > > I don't see documentation for the S or I parameters anywhere in the NCI > PDD. Is there a better place for them?
src/call_list.txt is probably the best place to look. And a good one to look into occasionally, I've mixed up 'I' and 'J' - sorry. > I did oversimplify the code somewhat. Here's what I really want to run. Without futher looking - you have to replace a lot of 'p's (some structure) with 'J' (the Interpreter* interp structure). E.g. .store_nci_func( 'Parrot_readbc', 'ppt' ) => .store_nci_func( 'Parrot_readbc', 'pJt' ) You migh also grep for enter_nci_method in src/pmc/*.c - all METHODs in .pmc are converted to NCI calls in the .c files with appropriate signatures. > -- c leo