Passing around pointers as ints is not advisable. We have pointer wrapper PMC types for this. You can wrap a pointer by doing something such as:
PMC *ptr_pmc = Parrot_pmc_new(interp, enum_class_Ptr); VTABLE_set_pointer(interp, ptr_pmc, (void *)wb); Sorry, I'm not sure what the embedding API equivalent is. Passing such PMCs to NCI functions will work properly. _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
