eina: properly initialize EINA_ERROR_VALUE_FAILED.

This commit is contained in:
Cedric Bail 2017-11-17 11:12:06 -08:00
parent 7cfb9e00ed
commit 7821367b1a
1 changed files with 3 additions and 2 deletions

View File

@ -43,6 +43,8 @@
#include "eina_safety_checks.h"
#include "eina_value.h"
EAPI Eina_Error EINA_ERROR_VALUE_FAILED = 0;
/*============================================================================*
* Local *
*============================================================================*/
@ -5472,6 +5474,7 @@ eina_value_init(void)
EINA_VALUE_TYPE_VALUE = &_EINA_VALUE_TYPE_VALUE;
EINA_ERROR_VALUE_FAILED = eina_error_msg_static_register("Eina_Value failed to copy/convert.");
return EINA_TRUE;
@ -5562,8 +5565,6 @@ EAPI const Eina_Value_Blob_Operations *EINA_VALUE_BLOB_OPERATIONS_MALLOC = NULL;
EAPI const Eina_Value_Struct_Operations *EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH = NULL;
EAPI const Eina_Value_Struct_Operations *EINA_VALUE_STRUCT_OPERATIONS_STRINGSHARE = NULL;
EAPI Eina_Error EINA_ERROR_VALUE_FAILED = 0;
EAPI const unsigned int eina_prime_table[] =
{
17, 31, 61, 127, 257, 509, 1021,