[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] define-foreign-type question
From: |
Anurag Mendhekar |
Subject: |
[Chicken-users] define-foreign-type question |
Date: |
Fri, 24 Oct 2003 22:29:47 -0700 (PDT) |
Hello,
I'm trying to understand how define-foreign-type works. I want to
define a foreign type that is the equivalent of stringlist:
typedef char *string;
typedef string stringlist[];
(define-foreign-type (pointer c-string) ?1 ?2)
My question is: what should ?1 and ?2 look like if I wanted string list
to be a list of strings in Scheme.
Thanks,
Anurag.
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
- [Chicken-users] define-foreign-type question,
Anurag Mendhekar <=