[Bond-users] Calling external functions

Dru dru at treshna.com
Sun Feb 4 16:30:33 EST 2007


It should work fine, I dont know of any problems with calling external 
functions. Do you know what version of glib you are using?

If you could run bondfrontend from within gdb, and when it segfaults,
paste back the output. Do a bt to get a back trace.




Colin Close wrote:
> Hi
> 
> I am having trouble with calling an external fuction from a trigger in 
> Bond. I have constructed a function much along the lines of those to be 
> found in Paymaster in details.c in the nz directory it seems though that 
> any attempt to run the Bond functions that send the SQL to the db server 
> via the _db_exec call causes a segfault. Is this currently broken or is 
> it a problem with my setup? I tried running paymaster and the one 
> function I tried running from that also segfaulted. I can persuade the 
> funtion to call and return as long as I call no Bond functions or try to 
> extract more than one argument from the GList.
> The DTD indicates that arguments to an external function are presented 
> as a GList but what happens if I present two constants is this also 
> presented as a GList. 
> Any help and enlightenment gratefully received.  
> 
> 
> Colin Close
> 
> _______________________________________________
> Bond-users mailing list
> Bond-users at hcoop.net
> http://hcoop.net/cgi-bin/mailman/listinfo/bond-users


-- 
Andrew Hill
treshna Enterprises Ltd
Tel: 03 366 3649
Cel: 021 660 819
Web: www.treshna.com
IT Consultancy - Websites - Database development - Computer tech support




More information about the Bond-users mailing list