You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @brief Call this function whenever a JS_* function call fails in order to set an appropriate python exception (remember to also return NULL)
* @version 0.1
* @date 2023-02-28
*
* @copyright Copyright (c) 2023
*
*/
#ifndef PythonMonkey_setSpiderMonkeyException_
#define PythonMonkey_setSpiderMonkeyException_
#include <jsapi.h>
#include <Python.h>
/**
* @brief This function sets a python error under the assumption that a JS_* function call has failed. Do not call this function if that is not the case.