* eet: minor API/code cleanup.

SVN revision: 47687
This commit is contained in:
Cedric BAIL 2010-04-02 13:48:36 +00:00
parent 57f1862163
commit 3efbdeee6d
3 changed files with 7 additions and 8 deletions

View File

@ -85,11 +85,11 @@ clean-local:
@rm -rf coverage
else
lcov-reset:
@echo "reconfigure with --enable-gcov"
@echo "reconfigure with --enable-coverage"
lcov-report:
@echo "reconfigure with --enable-gcov"
@echo "reconfigure with --enable-coverage"
coverage:
@echo "reconfigure with --enable-tests --enable-gcov"
@echo "reconfigure with --enable-tests --enable-coverage"
endif

View File

@ -2369,7 +2369,7 @@ extern "C" {
EAPI void *eet_data_descriptor_decode_cipher(Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key, int size_in);
/**
* Encode a dsata struct to memory and return that encoded data
* Encode a data struct to memory and return that encoded data
* using a cipher.
* @param edd The data descriptor to use when encoding.
* @param data_in The pointer to the struct to encode into data.
@ -2401,7 +2401,6 @@ extern "C" {
*/
EAPI void *eet_data_descriptor_encode_cipher(Eet_Data_Descriptor *edd, const void *data_in, const char *cipher_key, int *size_ret);
/**
* @defgroup Eet_Node_Group Low-level Serialization Structures.
*
@ -2604,7 +2603,7 @@ extern "C" {
* TODO FIX ME
* @ingroup Eet_Node_Group
*/
EAPI void *eet_data_node_decode_cipher(const void *data_in, const char *cipher_key, int size_in);
EAPI Eet_Node *eet_data_node_decode_cipher(const void *data_in, const char *cipher_key, int size_in);
/**
* TODO FIX ME

View File

@ -1214,7 +1214,7 @@ _eet_str_direct_alloc(const char *str)
}
static void
_eet_str_direct_free(const char *str)
_eet_str_direct_free(__UNUSED__ const char *str)
{
}
@ -3237,7 +3237,7 @@ eet_data_descriptor_decode(Eet_Data_Descriptor *edd,
return eet_data_descriptor_decode_cipher(edd, data_in, NULL, size_in);
}
EAPI void *
EAPI Eet_Node *
eet_data_node_decode_cipher(const void *data_in, const char *cipher_key, int size_in)
{
void *deciphered = (void*) data_in;