Re: [Chicken-users] howto return a list from a c-function

2007-04-04 Thread foobar
felix winkelmann schrieb: Hi! Since this (returning string lists) appears to be requested fairly often, I have added a new foreign result type to the current darcs head (2.607): the type c-string-list expects a char ** results and returns a list of strings. The string array returned from C

Re: [Chicken-users] Chicken 2.6 available from MacPorts

2007-04-04 Thread Arto Bendiken
On 4/4/07, Zbigniew [EMAIL PROTECTED] wrote: This is great. I've been impressed with MacPorts so far. Out of curiosity, can we specify special optimization flags for this build? I tend to compile Chicken with aggressive optimization. Based on the output from the build it looks like no

Re: [Chicken-users] Chicken 2.6 available from MacPorts

2007-04-04 Thread felix winkelmann
On 4/4/07, Arto Bendiken [EMAIL PROTECTED] wrote: On 4/4/07, Zbigniew [EMAIL PROTECTED] wrote: This is great. I've been impressed with MacPorts so far. Out of curiosity, can we specify special optimization flags for this build? I tend to compile Chicken with aggressive optimization. Based

[Chicken-users] how to map Scheme string to void* instead of char*

2007-04-04 Thread minh thu
Hi, I'm a bit lost : I'm using foreign-parse to write bindings for the QuesoGLC library [1] (which I'll release as BSD3 egg; the library itself is LGPL). Some functions of this library accept string as argument; the type is void*, not char*. Building the bindings seems to go well but when I want

Re: [Chicken-users] how to map Scheme string to void* instead of char*

2007-04-04 Thread felix winkelmann
On 4/4/07, minh thu [EMAIL PROTECTED] wrote: Hi, I'm a bit lost : I'm using foreign-parse to write bindings for the QuesoGLC library [1] (which I'll release as BSD3 egg; the library itself is LGPL). Some functions of this library accept string as argument; the type is void*, not char*. Building

Re: [Chicken-users] how to map Scheme string to void* instead of char*

2007-04-04 Thread minh thu
2007/4/4, felix winkelmann [EMAIL PROTECTED]: On 4/4/07, minh thu [EMAIL PROTECTED] wrote: Hi, I'm a bit lost : I'm using foreign-parse to write bindings for the QuesoGLC library [1] (which I'll release as BSD3 egg; the library itself is LGPL). Some functions of this library accept string

Re: [Chicken-users] how to map Scheme string to void* instead of char*

2007-04-04 Thread felix winkelmann
Done. cheers, felix On 4/4/07, minh thu [EMAIL PROTECTED] wrote: 2007/4/4, felix winkelmann [EMAIL PROTECTED]: On 4/4/07, minh thu [EMAIL PROTECTED] wrote: Hi, I'm a bit lost : I'm using foreign-parse to write bindings for the QuesoGLC library [1] (which I'll release as BSD3 egg;

[Chicken-users] QuesoGLC bindings

2007-04-04 Thread minh thu
Hi, From its homepage, QuesoGLC is a free (as in free speech) implementation of the OpenGL Character Renderer (GLC). QuesoGLC is based on the FreeType library, provides Unicode support and is designed to be easily ported to any platform that supports both FreeType and the OpenGL API [1]. It's

[Chicken-users] FP 2.0

2007-04-04 Thread felix winkelmann
Hello! A new version (2.0) of the fp egg is available - simplified grammar, more features, better documentation. http://chicken.wiki.br/fp cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] Chicken 2.6 available from MacPorts

2007-04-04 Thread Zbigniew
In fact these options are fine with me for a general build. However, when I `sudo port -v install chicken` I get lines such as the following: /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I/opt/local/include -DC_BUILDING_LIBCHICKEN -Ipcre -DSUPPORT_UTF8 -DSUPPORT_UCP -DPCRE_STATIC -I/opt/local/include

[Chicken-users] A request

2007-04-04 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, Please evaluate the following on your available platforms send me the results. csi -n -e '(require-extension posix) (print (build-platform) - (software-type) - (software-version) : (seconds-local-time (current-seconds)))'

Re: [Chicken-users] A request

2007-04-04 Thread minh thu
2007/4/4, Kon Lovett [EMAIL PROTECTED]: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, Please evaluate the following on your available platforms send me the results. csi -n -e '(require-extension posix) (print (build-platform) - (software-type) - (software-version) :

[Chicken-users] About time on MacOS X

2007-04-04 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thank you for your response. Just so you and every other MacOS X Chicken user knows the next release of Chicken will have the timezone offset value sign reversed! This is to provide compatibility with other platforms. So gnu - unix - macosx

Re: [Chicken-users] A request

2007-04-04 Thread minh thu
2007/4/4, Kyle R. Burton [EMAIL PROTECTED]: Please evaluate the following on your available platforms send me the results. csi -n -e '(require-extension posix) (print (build-platform) - (software-type) - (software-version) : (seconds-local-time (current-seconds)))'

Re: [Chicken-users] A request

2007-04-04 Thread Alex Queiroz
Hallo, On 4/4/07, Alex Queiroz [EMAIL PROTECTED] wrote: On 4/4/07, Kon Lovett [EMAIL PROTECTED] wrote: Please evaluate the following on your available platforms send me the results. mingw32 - windows - unknown : #(18 53 13 4 3 107 3 93 #f 10800) Fortaleza, CE, Brazil, UTC -03:00

Re: [Chicken-users] A request

2007-04-04 Thread Peter Bex
On Wed, Apr 04, 2007 at 09:44:02AM -0700, Kon Lovett wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, Please evaluate the following on your available platforms send me the results. csi -n -e '(require-extension posix) (print (build-platform) - (software-type) -

Re: [Chicken-users] A request

2007-04-04 Thread Kon Lovett
On Apr 4, 2007, at 11:25 AM, John Cowan wrote: Kon Lovett scripsit: Please evaluate the following on your available platforms send me the results. cygwin - windows - unknown : #(29 24 14 4 3 107 3 93 #t 269806560) Hmm, that looks like a bug. Currently the 'timezone' C variable is used

[Chicken-users] Another request (bigger this time)

2007-04-04 Thread Kon Lovett
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I just released a fix for Windows that should correct the problem of using the C 'timezone' since it is a function w/ Cygwin. I think all builds on Windows can use '_timezone'. However I cannot test it since I cannot build anymore on

Re: [Chicken-users] howto return a list from a c-function

2007-04-04 Thread John Cowan
felix winkelmann scripsit: I will try to come up with a usable implementation for the other direction, passing string-lists to C, but I'm not sure where to allocate the storage for the list, and what to do for callbacks that might trigger GC. Perhaps allocate an array via alloca()? Any ideas

[Chicken-users] syntax-case and static executables

2007-04-04 Thread Mark Voortman
Hello, Is it possible to compile the syntax-case egg into a statically linked executable? If yes, how? If no, is there any chance this will be possible in the near future? Thanks, Mark ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] Re: Another request (bigger this time)

2007-04-04 Thread John Cowan
Kon Lovett scripsit: Please get the current Chicken darcs head build. Then evaluate the following: cygwin - windows - unknown : #(32 46 16 4 3 107 3 93 #t 18000) : #(32 46 20 4 3 107 3 93 #f 18000) : 1175719592.0 : 1175719592.0 : EDT -- John Cowan [EMAIL PROTECTED]

[Chicken-users] Thank you for responding to my time query

2007-04-04 Thread Kon Lovett
Hi Folks, 1) Looks like MacOS X was the only odd one. Every other platform (sample only from people that responded!) uses POSIX timezone offset interpretation. I.E. The documented Chicken behavior - timezone offset is seconds west of UTC. 2) Thanks to John Cowan's Cygwin build a bug in