Switching from 'echa_char_t*' to 'const ecma_char_t*' where appropriate.

This commit is contained in:
Ruben Ayrapetyan
2014-07-30 14:20:20 +04:00
parent 56daef38eb
commit f8743a1375
10 changed files with 60 additions and 60 deletions
@@ -36,7 +36,7 @@
*/
ecma_completion_value_t
ecma_op_object_get( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p) /**< property name */
const ecma_char_t *property_name_p) /**< property name */
{
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
JERRY_ASSERT( property_name_p != NULL );
@@ -96,7 +96,7 @@ ecma_op_object_get( ecma_object_t *obj_p, /**< the object */
*/
ecma_property_t*
ecma_op_object_get_own_property( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p) /**< property name */
const ecma_char_t *property_name_p) /**< property name */
{
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
JERRY_ASSERT( property_name_p != NULL );
@@ -121,7 +121,7 @@ ecma_op_object_get_own_property( ecma_object_t *obj_p, /**< the object */
*/
ecma_property_t*
ecma_op_object_get_property( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p) /**< property name */
const ecma_char_t *property_name_p) /**< property name */
{
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
JERRY_ASSERT( property_name_p != NULL );
@@ -166,7 +166,7 @@ ecma_op_object_get_property( ecma_object_t *obj_p, /**< the object */
*/
ecma_completion_value_t
ecma_op_object_put( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p, /**< property name */
const ecma_char_t *property_name_p, /**< property name */
ecma_value_t value, /**< ecma-value */
bool is_throw) /**< flag that controls failure handling */
{
@@ -285,7 +285,7 @@ ecma_op_object_put( ecma_object_t *obj_p, /**< the object */
*/
bool
ecma_op_object_can_put( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p) /**< property name */
const ecma_char_t *property_name_p) /**< property name */
{
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
JERRY_ASSERT( property_name_p != NULL );
@@ -389,7 +389,7 @@ ecma_op_object_can_put( ecma_object_t *obj_p, /**< the object */
*/
bool
ecma_op_object_has_property( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p) /**< property name */
const ecma_char_t *property_name_p) /**< property name */
{
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
JERRY_ASSERT( property_name_p != NULL );
@@ -416,7 +416,7 @@ ecma_op_object_has_property( ecma_object_t *obj_p, /**< the object */
*/
ecma_completion_value_t
ecma_op_object_delete( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p, /**< property name */
const ecma_char_t *property_name_p, /**< property name */
bool is_throw) /**< flag that controls failure handling */
{
JERRY_ASSERT( obj_p != NULL && !obj_p->is_lexical_environment );
@@ -501,7 +501,7 @@ ecma_op_object_default_value( ecma_object_t *obj_p, /**< the object */
*/
ecma_completion_value_t
ecma_op_object_define_own_property( ecma_object_t *obj_p, /**< the object */
ecma_char_t *property_name_p, /**< property name */
const ecma_char_t *property_name_p, /**< property name */
ecma_property_descriptor_t property_desc, /**< property descriptor */
bool is_throw) /**< flag that controls failure handling */
{