Re: Using a guile extension written in c from mpb
"John Travers" <[email protected]>
| Newsgroups | gmane.comp.science.photonic-bands |
|---|---|
| Message-ID | <[email protected]> |
On 05/09/07, John Travers <[email protected]> wrote: > Hi, > I've written some functions in c which can be called from guile 1.8. I > wish to use them in a mpb script, however I get segmentation faults > when I try this. I have compiled libctl and mpb with the same guile > library as my c functions. Any ideas what the problem might be, or > better suggestions on calling c functions from mpb? > > Thanks for any help, > John Travers > I now have this working. I had to declare my functions as static. To be completely honest, I'm not sure why. Sorry for the noise. Best regards, John Travers