* Creating a Vtable in C
@ 2022-11-19 21:16 5c667a3 via General Guile related discussions
0 siblings, 0 replies; only message in thread
From: 5c667a3 via General Guile related discussions @ 2022-11-19 21:16 UTC (permalink / raw)
To: guile-user@gnu.org
Hello all,
I'm currently looking for a way to create a vtable in C,
to pass it then to the existing guile-function below to create a struct value in C:
(which I then want to pass to guile)
scm_make_struct(SCM vtable, SCM tail_size, SCM init_list) or
the alternatives.
I think older guile versions there was scm_make_vtable_vtable.
Also I tried the C-function scm_struct_vtable from the current version.
Currently I have in C a struct type event and a vector of events.
I aim for having some function get_next_event in C and a Scheme wrapper
function for it.
Thank you for any help and suggestions.
Regards,Rael
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-19 21:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-19 21:16 Creating a Vtable in C 5c667a3 via General Guile related discussions
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).