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

Function gjs_throw_literal

gjs/jsapi-util-error.cpp:196–198  ·  view source on GitHub ↗

* gjs_throw_literal: * * Similar to gjs_throw(), but does not treat its argument as a format string. */

Source from the content-addressed store, hash-verified

194 * Similar to gjs_throw(), but does not treat its argument as a format string.
195 */
196void gjs_throw_literal(JSContext* cx, const char* string) {
197 gjs_throw(cx, "%s", string);
198}
199
200/**
201 * gjs_throw_gerror_message:

Callers 1

gjs_throw_gerror_messageFunction · 0.85

Calls 1

gjs_throwFunction · 0.85

Tested by

no test coverage detected