Search completed in 1.30 seconds.
2 results for "npn_construct":
NPClass - Archive of obsolete content
Archive › Plugins › Reference › NPClass
true if the value was successfully set, otherwise returns false. removeProperty Called by NPN_RemoveProperty() to remove a given property from a specified NPObject. Returns true if the property was successfully removed, otherwise returns false. enumerate Called by NPN_Enumerate. This field is available only if structVersion is NP_CLASS_STRUCT_VERSION_ENUM (2) or greater. construct Called by NPN_Construct. This field is available only if structVersion is NP_CLASS_STRUCT_VERSION_CTOR (3) or greater. Function pointer syntax typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj); typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj); typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name); typedef bool (*...
Scripting plugins - Plugins
Plugins › Guide › Scripting plugins
eMethod(); alert(embed.nativeProperty); embed.nativeProperty.anotherNativeMethod(); </script> The API extensions The API extensions are based on four new structs: NPString NPVariant NPN_ReleaseVariantValue NPN_GetStringIdentifier NPN_GetStringIdentifiers NPN_GetIntIdentifier NPN_IdentifierIsString NPN_UTF8FromIdentifier NPN_IntFromIdentifier NPObject NPN_Construct (since Firefox 3.0b1) NPN_CreateObject NPN_RetainObject NPN_ReleaseObject NPN_Invoke NPN_InvokeDefault NPN_Enumerate (since Mozilla 1.9a1) NPN_Evaluate NPN_GetProperty NPN_SetProperty NPN_RemoveProperty NPN_HasProperty NPN_HasMethod NPN_SetException NPClass << PreviousNext >> ...