PythonMonkey   v1.0.0 (dev)
Loading...
Searching...
No Matches
setSpiderMonkeyException.hh
Go to the documentation of this file.
1
11#ifndef PythonMonkey_setSpiderMonkeyException_
12#define PythonMonkey_setSpiderMonkeyException_
13
14#include <jsapi.h>
15
23PyObject *getExceptionString(JSContext *cx, const JS::ExceptionStack &exceptionStack, bool printStack);
24
30void setSpiderMonkeyException(JSContext *cx);
31
32#endif
void setSpiderMonkeyException(JSContext *cx)
This function sets a python error under the assumption that a JS_* function call has failed....
Definition setSpiderMonkeyException.cc:77
PyObject * getExceptionString(JSContext *cx, const JS::ExceptionStack &exceptionStack, bool printStack)
Convert the given SpiderMonkey exception stack to a Python string.
Definition setSpiderMonkeyException.cc:22