Leopold Toetsch via RT wrote:
On Oct 23, 2005, at 17:08, Nick Glencross (via RT) wrote:
Guys,
call_list.txt lists 'T' and 'L' as being prototypes for passing arrays
to nci functions, but no implementation exists in build_nativecall.pl.
This patch provides an implementation, as well as new tests.
I don't think that this is a good idea. There are way too many
different array types. The code inside *ManagedStruct already deals
with arrays of all standard types. See e.g.
runtime/parrot/library/libpcre.imc, which works fine without new
signatures.
There is a second problem with this approach: permutation. All of these
signature chars might be combined to create arbitrary function
signatures. nci.c is already too big.
I tend to agree. :-) Let's reject it.
I was looking at callbacks the other evening. Am I right in thinking
that only two callback prototypes are supported, or have I missed a
trick there as well?
Nick