MCPcopy Create free account
hub / github.com/GNOME/gjs / get_length

Method get_length

gi/function.cpp:1212–1219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1210}
1211
1212bool Function::get_length(JSContext* cx, unsigned argc, JS::Value* vp) {
1213 GJS_GET_THIS(cx, argc, vp, args, this_obj);
1214 Function* priv;
1215 if (!Function::for_js_instance(cx, this_obj, &priv, &args))
1216 return false;
1217 args.rval().setInt32(priv->m_js_in_argc);
1218 return true;
1219}
1220
1221bool Function::get_name(JSContext* cx, unsigned argc, JS::Value* vp) {
1222 GJS_CHECK_WRAPPER_PRIV(cx, argc, vp, rec, this_obj, Function, priv);

Callers 1

_validateFDVariantFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected