[webkit-dev] Getting global object from a webkit context throws a warning

2009-06-25 Thread Sebastian Linke
Hi, I'm currently learning how a JavaScript context is structured. Therefore I just load a site in a WebKit session and try to access the property document.forms using `JSObjectGetProperty()`: http://paste.pocoo.org/show/125018/ But before I go on, I would like to know why I get this warnings:

Re: [webkit-dev] Getting global object from a webkit context throws a warning

2009-06-25 Thread Darin Adler
On Jun 25, 2009, at 2:14 AM, Sebastian Linke wrote: But before I go on, I would like to know why I get this warnings: $ LANG=C gcc test.c -o test $(pkg-config --cflags --libs webkit-1.0) test.c: In function 'get_forms': test.c:23: warning: assignment makes pointer from integer without a cast

Re: [webkit-dev] Getting global object from a webkit context throws a warning

2009-06-25 Thread Mark Rowe
On 2009-06-25, at 02:14, Sebastian Linke wrote: I'm currently learning how a JavaScript context is structured. Therefore I just load a site in a WebKit session and try to access the property document.forms using `JSObjectGetProperty()`: http://paste.pocoo.org/show/125018/ But before I go