Lines Matching defs:PyG_Base
38 // PyGBase.cpp - implementation of the PyG_Base class
60 extern PyG_Base *MakePyG_nsIModule(PyObject *);
61 extern PyG_Base *MakePyG_nsIComponentLoader(PyObject *instance);
62 extern PyG_Base *MakePyG_nsIInputStream(PyObject *instance);
65 PyG_Base *GetDefaultGateway(PyObject *instance);
70 PyG_Base::CreateNew(PyObject *pPyInstance, const nsIID &iid, void **ppResult)
76 PyG_Base *ret;
94 PyG_Base::PyG_Base(PyObject *instance, const nsIID &iid)
141 PYXPCOM_LOG_DEBUG("PyG_Base created at %p\n instance_repr=%s\n IID=%s\n", this, PyString_AsString(real_repr), iid_repr);
156 PyG_Base::~PyG_Base()
160 PYXPCOM_LOG_DEBUG("PyG_Base: deleted %p", this);
180 void *PyG_Base::ThisAsIID( const nsIID &iid )
195 PyG_Base::AutoWrapPythonInstance(PyObject *ob, const nsIID &iid, nsISupports **ppret)
258 PyG_Base::MakeInterfaceParam(nsISupports *pis,
330 PyG_Base::QueryInterface(REFNSIID iid, void** ppv)
411 PyG_Base::AddRef(void)
423 PyG_Base::Release(void)
436 PyG_Base::GetWeakReference(nsIWeakReference **ret)
459 nsresult PyG_Base::HandleNativeGatewayError(const char *szMethodName)
574 nsresult PyG_Base::InvokeNativeViaPolicyInternal(
595 nsresult PyG_Base::InvokeNativeViaPolicy(
614 nsresult PyG_Base::InvokeNativeGetViaPolicy(
662 nsresult PyG_Base::InvokeNativeSetViaPolicy(
710 PyObject *PyG_Base::UnwrapPythonObject(void)
752 PyG_Base *GetDefaultGateway(PyObject *policy)
773 return (PyG_Base *)(nsIInternalPython *)pip;