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

Function gjs_g_param_from_param

gi/param.cpp:252–257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252GParamSpec* gjs_g_param_from_param(JSContext* cx, JS::HandleObject obj) {
253 if (!obj)
254 return nullptr;
255
256 return param_value(cx, obj);
257}
258
259bool gjs_typecheck_param(JSContext* cx, JS::HandleObject object,
260 GType expected_type, bool throw_error) {

Callers 4

inMethod · 0.85

Calls 1

param_valueFunction · 0.85

Tested by

no test coverage detected