[fpc-pascal] how to bind the following c code ?

2010-04-14 Thread ik
Hello, I'm trying to add missing Pango functions to both Lazarus and FPC for BiDi support, and I have encountered the following function: PangoDirection pango_unichar_direction (gunichar ch) G_GNUC_CONST; I do not understand the G_GNUC_CONST part, does anyone here know what it suppose

Re: [fpc-pascal] how to bind the following c code ?

2010-04-14 Thread dmitry boyarintsev
On Wed, Apr 14, 2010 at 1:38 PM, ik ido...@gmail.com wrote: I do not understand the G_GNUC_CONST part, does anyone here know what it suppose to be ? It's C define. I suspect it would be some GNU-C attribute, that in the end won't be used by Pascal in anyway. You need to find the definition of

Re: [fpc-pascal] how to bind the following c code ?

2010-04-14 Thread Henry Vermaak
On 14 April 2010 10:38, ik ido...@gmail.com wrote: Hello, I'm trying to add missing Pango functions to both Lazarus and FPC for BiDi support, and I have encountered the following function: PangoDirection pango_unichar_direction  (gunichar ch) G_GNUC_CONST; I do not understand the