Lines Matching refs:meta
40 const Ewk_JS_Class_Meta* meta;
41 Eina_Hash* methods; // Key=NPIdentifier(name), value=pointer to meta->methods.
42 Eina_Hash* properties; // Key=NPIdentifier(name), value=pointer to meta->properties.
328 * @param meta @a Ewk_JS_Class_Meta that describes the class to be created.
344 cls->meta = jsMetaClass;
345 cls->default_prop = cls->meta->default_prop;
347 // Don't free methods since they point to meta class methods(will be freed when meta class is freed).
349 for (int i = 0; cls->meta->methods && cls->meta->methods[i].name; i++) {
350 NPIdentifier id = _NPN_GetStringIdentifier(cls->meta->methods[i].name);
351 eina_hash_add(cls->methods, id, &cls->meta->methods[i]);
354 // Don't free properties since they point to cls->meta class properties(will be freed when cls->meta class is freed).
356 for (int i = 0; cls->meta->properties && cls->meta->properties[i].name; i++) {
357 NPIdentifier id = _NPN_GetStringIdentifier(cls->meta->properties[i].name);
358 eina_hash_add(cls->properties, id, &cls->meta->properties[i]);
415 cls->meta = 0;
440 // Can't use ewk_js_object_new(cls) because it expects cls->meta to exist.
549 for (int i = 0; object->cls->meta->properties && object->cls->meta->properties[i].name; i++) {
550 Ewk_JS_Property prop = object->cls->meta->properties[i];
551 const char* key = object->cls->meta->properties[i].name;
604 Eina_Bool script_obj = !jsObject->cls->meta;