* It is meant for simple data types, providing uniform access and
* release functions, useful to exchange data preserving their
* types. For more complex hierarchical data, with properties and
- * children, reference counting, inheritance and interfaces, see @ref
- * Eina_Model_Group.
+ * children, reference counting, inheritance and interfaces,
*
* Examples of usage of the Eina_Value API:
* @li @ref eina_value_example_01_page
EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT;
/**
- * @var EINA_VALUE_TYPE_MODEL
- *
- * manages Eina_Model type. Use the value get/set to change the model
- * in use, it will increase the reference while in use by the value.
- *
- * eina_value_set() takes a pointer to #Eina_Model, increasing the
- * reference.
- *
- * eina_value_get() takes a pointer to pointer to #Eina_Model, it's an
- * exact copy of the current model, no copies are done, no references
- * are increased.
- *
- * @since 1.2
- */
-EAPI extern const Eina_Value_Type *EINA_VALUE_TYPE_MODEL;
-
-/**
* @var EINA_ERROR_VALUE_FAILED
* Error identifier corresponding to value check failure.
*
/* undefs EINA_ARG_NONULL() so NULL checks are not compiled out! */
#include "eina_safety_checks.h"
#include "eina_value.h"
-#include "eina_model.h" /* uses eina_value.h */
+/* no model for now
+#include "eina_model.h" // uses eina_value.h
+ */
/*============================================================================*
* Local *
_eina_value_type_struct_pget
};
+/* no model for now
static Eina_Bool
_eina_value_type_model_setup(const Eina_Value_Type *type __UNUSED__, void *mem)
{
const Eina_Model * const *s = src;
Eina_Model **d = dst;
if (*s)
- *d = eina_model_copy(*s); /* is it better to deep-copy? */
+ *d = eina_model_copy(*s); // is it better to deep-copy?
else
*d = NULL;
return EINA_TRUE;
_eina_value_type_model_copy,
_eina_value_type_model_compare,
_eina_value_type_model_convert_to,
- NULL, /* no convert from */
+ NULL, // no convert from
_eina_value_type_model_vset,
_eina_value_type_model_pset,
_eina_value_type_model_pget
};
+*/
/* keep all basic types inlined in an array so we can compare if it's
* a basic type using pointer arithmetic.
EINA_VALUE_TYPE_TIMEVAL = &_EINA_VALUE_TYPE_TIMEVAL;
EINA_VALUE_TYPE_BLOB = &_EINA_VALUE_TYPE_BLOB;
EINA_VALUE_TYPE_STRUCT = &_EINA_VALUE_TYPE_STRUCT;
+/* no model for now
EINA_VALUE_TYPE_MODEL = &_EINA_VALUE_TYPE_MODEL;
-
+ */
+
EINA_VALUE_BLOB_OPERATIONS_MALLOC = &_EINA_VALUE_BLOB_OPERATIONS_MALLOC;
EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH = &_EINA_VALUE_STRUCT_OPERATIONS_BINSEARCH;
EAPI const Eina_Value_Type *EINA_VALUE_TYPE_TIMEVAL = NULL;
EAPI const Eina_Value_Type *EINA_VALUE_TYPE_BLOB = NULL;
EAPI const Eina_Value_Type *EINA_VALUE_TYPE_STRUCT = NULL;
+/* no model for now
EAPI const Eina_Value_Type *EINA_VALUE_TYPE_MODEL = NULL;
+ */
EAPI const Eina_Value_Blob_Operations *EINA_VALUE_BLOB_OPERATIONS_MALLOC = NULL;