Renaming jerry_* identifiers from 'camelCase' to 'underscore_naming'.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user