Hi, 

Here is very simple example:

test.cpp
-----------------
#include <neko.h>

int main()
{
    value o = alloc_object(NULL);
    alloc_field(o, val_id("x"), alloc_int(2));

    return 0;
}
---------------------
g++ -g -o test test.cpp -lneko

calling alloc_field results segmentation fault.

regards
Sigitas

                                          
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to