Dan Sugalski <[EMAIL PROTECTED]> wrote: > I'm pondering, once again, more things with the Postgres interface. > In this case I need to pass in arrays of ints (and floats, I suppose) > and arrays of char pointers.
Actually we have that already - or almost. When interfacing with PCRE, I had to access the match results, which happen to be an array of ints. So the UnManagedStruct PMC has an interface to deal with almost arbitrary structures and arrays of types. Its not finished and a bit underdocumented though. Its currently fine for reading e.g. an int array coming in from NCI. For setting up such an array ManagedStruct should be used, but it may lack the proper store allocation. Please UTSL :) and "less library/libpcre.imc". leo