* eet: minor API/code cleanup.
authorcedric <cedric>
Fri, 2 Apr 2010 13:48:36 +0000 (13:48 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 2 Apr 2010 13:48:36 +0000 (13:48 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eet@47687 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

Makefile.am
src/lib/Eet.h
src/lib/eet_data.c

index b4f9833..3cd8620 100644 (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
index a3f5bdb..607d459 100644 (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
index f309540..d38deb8 100644 (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;