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