chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] Retrurning a string from a C function in easyFFI


From: William Ramsay
Subject: [Chicken-users] Retrurning a string from a C function in easyFFI
Date: Thu, 19 Apr 2007 09:49:54 -0400
User-agent: Thunderbird 1.5.0.10 (X11/20070221)

Hi,

I'm trying to return a string from a Gtk entry widget. I have the external function declared as:

char *gtk_entry_get_text(GtkEntry *entry);

When I call it with a pointer to my entry widget I get a "not a pointer" error.

Can anyone explain how this works. I return int and and widget pointers with no problem. How do
c-strings get converted to scheme strings?

Thanks,

Bill




reply via email to

[Prev in Thread] Current Thread [Next in Thread]