Home | History | Annotate | Download | only in bindings

Lines Matching defs:NPObject

82     always wrapped in an NPObject.  The 'interface' of an NPObject is
85 typedef struct NPObject NPObject;
111 NPObject *objectValue;
245 NPObject behavior is implemented using the following set of
251 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass);
252 typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj);
253 typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj);
254 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name);
255 typedef bool (*NPInvokeFunctionPtr)(NPObject *npobj, NPIdentifier name,
258 typedef bool (*NPInvokeDefaultFunctionPtr)(NPObject *npobj,
262 typedef bool (*NPHasPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name);
263 typedef bool (*NPGetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name,
265 typedef bool (*NPSetPropertyFunctionPtr)(NPObject *npobj, NPIdentifier name,
267 typedef bool (*NPRemovePropertyFunctionPtr)(NPObject *npobj,
269 typedef bool (*NPEnumerationFunctionPtr)(NPObject *npobj, NPIdentifier **value,
271 typedef bool (*NPConstructFunctionPtr)(NPObject *npobj,
287 NPObject instance after the invalidate callback has been
289 is still retaining those NPObject instances. (The runtime
291 to dispatch to a NPObject, but this behavior should not be
327 struct NPObject {
337 that function, otherwise a NPObject is allocated and
339 the NPObject to 1.
341 NPObject *NPN_CreateObject(NPP npp, NPClass *aClass);
344 Increment the NPObject's reference count.
346 NPObject *NPN_RetainObject(NPObject *npobj);
349 Decremented the NPObject's reference count. If the reference
353 void NPN_ReleaseObject(NPObject *npobj);
356 Functions to access script objects represented by NPObject.
367 bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName,
369 bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args,
371 bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script,
373 bool NPN_GetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName,
375 bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName,
377 bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName);
378 bool NPN_HasProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName);
379 bool NPN_HasMethod(NPP npp, NPObject *npobj, NPIdentifier methodName);
380 bool NPN_Enumerate(NPP npp, NPObject *npobj, NPIdentifier **identifier,
382 bool NPN_Construct(NPP npp, NPObject *npobj, const NPVariant *args,
391 NPObject *npobj, const NPUTF8 *message);