Regarding combining a C and Pike module (which didn't really get any answers), I suggested the Image method; using a magic `[] in ADT.pmod for looking up identifiers from an _ADT module written in C. (Image does it the other way around, though.)
If there is a better way of doing this, now is a good time to say so.
/ Johan Sundström (a hugging punishment!)
Previous text:
2003-01-24 11:49: Subject: Two questions
Is there anyway to reach it?
It's when I create an Iterator and get an program as argument to
create() and I want to make sure that the program is the kind of class it should iterate over.
something like this
PIKEFUN void create(program l) { if (l is a LinkedList) <-- how to solve this? { then init } else { Throw error } }
/ Peta, jo det är jag