On Wed, May 30, 2007 at 11:26:01AM -0300, Rodrigo Sakai wrote: > I have a question about passing parameters to a C function. Imagine the > example by PostgreSQL: > > PG_FUNCTION_INFO_V1(complex_add);
> But using version 1 calling convention it won't work! So, how can I pass the > 'a' and 'b' variables in complex_add(?, ?)? Use the DirectFunctionCalln functions in fmgr. Have a nice day, -- Martijn van Oosterhout <[EMAIL PROTECTED]> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to > litigate.
signature.asc
Description: Digital signature