Exemplo n.º 1
0
static duk_ret_t Light_Name(duk_context* ctx)
{
    Light* thisObj = GetThisWeakObject<Light>(ctx);
    const String & ret = thisObj->Name();
    duk_push_string(ctx, ret.CString());
    return 1;
}