PythonMonkey   v1.0.1 (dev)
Loading...
Searching...
No Matches
JSMethodProxy.hh File Reference

JSMethodProxy is a custom C-implemented python type. It acts as a proxy for JSFunctions from Spidermonkey, and behaves like a method would, treating self as this. More...

#include "include/JSFunctionProxy.hh"
#include <jsapi.h>
#include <Python.h>
Include dependency graph for JSMethodProxy.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  JSMethodProxy
 The typedef for the backing store that will be used by JSMethodProxy objects. All it contains is a pointer to the JSFunction and a pointer to self. More...
 
struct  JSMethodProxyMethodDefinitions
 This struct is a bundle of methods used by the JSMethodProxy type. More...
 

Variables

PyTypeObject JSMethodProxyType
 Struct for the JSMethodProxyType, used by all JSMethodProxy objects.
 

Detailed Description

JSMethodProxy is a custom C-implemented python type. It acts as a proxy for JSFunctions from Spidermonkey, and behaves like a method would, treating self as this.

Author
Caleb Aikens (caleb.nosp@m.@dis.nosp@m.tribu.nosp@m.tive.nosp@m..netw.nosp@m.ork)
Date
2023-11-14

Variable Documentation

◆ JSMethodProxyType

PyTypeObject JSMethodProxyType
extern

Struct for the JSMethodProxyType, used by all JSMethodProxy objects.