Renaming jerry_* identifiers from 'camelCase' to 'underscore_naming'.

This commit is contained in:
Ruben Ayrapetyan
2014-07-23 13:03:30 +04:00
parent c0df259726
commit 79f3d97434
8 changed files with 28 additions and 28 deletions
+3 -3
View File
@@ -27,7 +27,7 @@
* and call assertion fail handler.
*/
void __noreturn
jerry_Exit( jerry_Status_t code) /**< status code */
jerry_exit( jerry_status_t code) /**< status code */
{
#ifndef JERRY_NDEBUG
if ( code != ERR_OK )
@@ -72,10 +72,10 @@ jerry_Exit( jerry_Status_t code) /**< status code */
}
/* The failed assertion is 'Return code is zero' */
jerry_AssertFail( "Return code is zero", __FILE__, __LINE__);
jerry_assert_fail( "Return code is zero", __FILE__, __LINE__);
}
#endif /* !JERRY_NDEBUG */
__exit( -code );
} /* jerry_Exit */
} /* jerry_exit */
+2 -2
View File
@@ -20,7 +20,7 @@
* Handle failed assertion
*/
void __noreturn
jerry_AssertFail(const char *assertion, /**< assertion condition string */
jerry_assert_fail(const char *assertion, /**< assertion condition string */
const char *file, /**< file name */
const uint32_t line) /** line */
{
@@ -28,5 +28,5 @@ jerry_AssertFail(const char *assertion, /**< assertion condition string */
assertion, file, line);
__exit( -ERR_GENERAL);
} /* jerry_AssertFail */
} /* jerry_assert_fail */
+2 -2
View File
@@ -20,9 +20,9 @@
* Handle failed assertion
*/
void __noreturn
jerry_AssertFail(const char *assertion __unused, /**< assertion condition string */
jerry_assert_fail(const char *assertion __unused, /**< assertion condition string */
const char *file __unused, /**< file name */
const uint32_t line __unused) /** line */
{
__exit( -ERR_GENERAL);
} /* jerry_AssertFail */
} /* jerry_assert_fail */