From: Tristan Colgate <tcolgate@gmail.com>
To: Andy Wingo <wingo@pobox.com>
Cc: guile-devel@gnu.org
Subject: Re: Compilation and load-extension
Date: Sun, 3 Jan 2010 12:54:23 +0000 [thread overview]
Message-ID: <2e6d10881001030454k759e31c8nfbe7a0a0f9326b78@mail.gmail.com> (raw)
In-Reply-To: <m3fx6nlc37.fsf@pobox.com>
2010/1/3 Andy Wingo <wingo@pobox.com>:
> Hi Tristan,
...
> (eval-when (eval load compile)
> (load-extension "test-module.so" "scm_init_my_module"))
>
Thanks for the explanation and the fix, it works nicely and I now
have previous code running cleanly, a guile-lib based unit test
framework on its way.
> If this code is generated by SWIG, as you had mentioned before, please
> let the SWIG maintainers know about this issue, and point them to this
> message.
On further inspection this is actually my code in my swig binding,
so trivial to update on my end. swig does still need some changes but
I haven't got a good enough understanding yet to go to the swig guys
(memory allocation is the main issue, and they use some deprecated
functions.
Cheers, and thanks for all the great work on guile.
--
Tristan Colgate-McFarlane
----
"You can get all your daily vitamins from 52 pints of guiness, and a
glass of milk"
prev parent reply other threads:[~2010-01-03 12:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-18 8:44 Compilation and load-extension Tristan Colgate
2009-12-18 9:57 ` Ludovic Courtès
2009-12-18 10:23 ` Tristan Colgate
2009-12-18 10:33 ` Ludovic Courtès
2009-12-18 13:22 ` Tristan Colgate
2009-12-28 11:24 ` Andy Wingo
2009-12-30 15:27 ` Tristan Colgate
2010-01-03 10:25 ` Andy Wingo
2010-01-03 12:54 ` Tristan Colgate [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2e6d10881001030454k759e31c8nfbe7a0a0f9326b78@mail.gmail.com \
--to=tcolgate@gmail.com \
--cc=guile-devel@gnu.org \
--cc=wingo@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).