1 /* Copyright JS Foundation and other contributors, http://js.foundation 2 * 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef ECMA_BUILTIN_OBJECT_H 16 #define ECMA_BUILTIN_OBJECT_H 17 18 ecma_value_t ecma_builtin_object_object_get_prototype_of (ecma_object_t *obj_p); 19 20 ecma_value_t ecma_builtin_object_object_set_prototype_of (ecma_value_t arg1, 21 ecma_value_t arg2); 22 23 ecma_value_t ecma_builtin_object_object_set_proto (ecma_value_t arg1, 24 ecma_value_t arg2); 25 26 ecma_value_t ecma_builtin_object_object_prevent_extensions (ecma_object_t *obj_p); 27 28 ecma_value_t ecma_builtin_object_object_is_extensible (ecma_object_t *obj_p); 29 30 ecma_value_t ecma_builtin_object_object_get_own_property_descriptor (ecma_object_t *obj_p, 31 ecma_string_t *name_str_p); 32 ecma_value_t ecma_builtin_object_object_define_property (ecma_object_t *obj_p, 33 ecma_string_t *name_str_p, 34 ecma_value_t arg3); 35 36 #endif /* !ECMA_BUILTIN_OBJECT_H */ 37