How to wrap GObject?



Hello,

How to wrap GObject as JSObject for call JS function from native code?

xxx.c

void handle (Handler *handler)
{
    // Want to call js handle function, How to wrap handler object?
}

xxx.js

function handle (handler)
{
}

Thx!


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