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]

Re: Additions to the gh_ interface.



> I fired up the guile-core snapshot yesterday to make sure
> the new version works in my little sound editor (it does);

Cool.

> I was using gh_vset and other vector functions that are now
> obsolete, so it would be nice if there were a version number
> or something I could use with #if -- I didn't immediately
> see one (the versiondat.h file, I think, is not included
> by gh.h(?) and the version stuff there is "3a" or something
> that will be a headache to keep track of).

I'm not sure I understand exactly what you mean.  Version numbers are
a generally unreliable way to keep track of interfaces.  You may want
to use autoconf in your package, to reliably detect which functions
are available and which aren't.

> Also, along the lines of gh_doubles2scm, if these are significantly
> faster than a loop of vector_sets, then it would be very useful to
> me to have the other side (gh_scm2ints, gh_scm2doubles).  (I don't
> have the thing here at work, so this is typed from memory, which I
> always live to regret).

Could you write those functions, and post the source?