This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

wrapping gsl



While trying to wrap parts (the random engines) of gsl, I stumbled over the 
excessive usage of void pointers, as arguments or return values.
How should one wrap them? Simply as SCM or as some fancy smob?
Neither g-wrap nor swig are of any direct help when it comes to those beasts.
Also garbage collection doesn't seem strate forward here.
Then there are some int* variables ... should they get mapped to lists of 
exact integers? Or does that involve too much consing?

Klaus Schilling