[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
interfacing C and guile
From: |
Damien Mattei |
Subject: |
interfacing C and guile |
Date: |
Fri, 30 Dec 2022 10:36:16 +0100 |
hi,
how do i declare in Guile a function that in C is of this type:
int foo(int,int,char *)
the problem i have is with the char *:
(define cfunc (foreign-library-function "libguile-cfunc" "openmp"
#:return-type int #:arg-types (list int int ????)))
i do not know what to put in place of ????
Regards,
Damien
note: what if const char* ? (not sure i need it)
- interfacing C and guile,
Damien Mattei <=