[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating modules from C
From: |
Lars J. Aas |
Subject: |
Re: Creating modules from C |
Date: |
Tue, 15 May 2001 09:44:12 +0200 |
User-agent: |
Mutt/1.2.5i |
On Tue, May 15, 2001 at 02:44:54AM +0200, Marius Vollmer wrote:
: Alex Shinn <address@hidden> writes:
:
: > So how would one define an exported function from C?
:
: Like this:
:
: void
: my_module_init (void *unused)
: {
: scm_make_gsubr ("foo", 0, 0, 0, foo);
: scm_make_gsubr ("bar", 0, 0, 0, foo);
: ...
: scm_c_export ("foo", "bar");
Is this a va_list (and should be terminated), or do you always wave to
export your functions in pairs? :) Also, bar should be different from
foo, so your example is fubar... OK, maybe only fu :)
Lars J
- Re: Creating modules from C (was: On the deprecated auto-loading of compiled-code modules), (continued)
- Re: Creating modules from C (was: On the deprecated auto-loading of compiled-code modules), Martin Grabmueller, 2001/05/09
- Re: Creating modules from C (was: On the deprecated auto-loading of compiled-code modules), Martin Grabmueller, 2001/05/09
- Re: Creating modules from C (was: On the deprecated auto-loading of compiled-code modules), thi, 2001/05/09
- Re: Creating modules from C (was: On the deprecated auto-loading of compiled-code modules), Matthias Koeppe, 2001/05/14
- Re: Creating modules from C, Marius Vollmer, 2001/05/14
- Re: Creating modules from C, Rob Browning, 2001/05/14
- Re: Creating modules from C, Marius Vollmer, 2001/05/14
- Re: Creating modules from C, Dirk Herrmann, 2001/05/14
- Re: Creating modules from C, Alex Shinn, 2001/05/14
- Re: Creating modules from C, Marius Vollmer, 2001/05/14
- Re: Creating modules from C,
Lars J. Aas <=
- Re: Creating modules from C, Marius Vollmer, 2001/05/15
- Re: Creating modules from C, Dirk Herrmann, 2001/05/14
- Re: Creating modules from C, Marius Vollmer, 2001/05/14
- Re: Creating modules from C, Dirk Herrmann, 2001/05/14
- Re: Creating modules from C, Marius Vollmer, 2001/05/14
- Re: Creating modules from C, Dirk Herrmann, 2001/05/14
- Re: Creating modules from C, Martin Grabmueller, 2001/05/14
- Re: Creating modules from C, Marius Vollmer, 2001/05/14
- Re: Creating modules from C, Matthias Koeppe, 2001/05/22
- Re: Creating modules from C, Marius Vollmer, 2001/05/22