Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/embryo

Dir     : e17/libs/embryo/src/lib


Modified Files:
        embryo_amx.c embryo_main.c 


Log Message:


fix warnings

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/lib/embryo_amx.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- embryo_amx.c        29 Nov 2005 04:13:02 -0000      1.28
+++ embryo_amx.c        6 Jan 2006 18:02:50 -0000       1.29
@@ -230,7 +230,7 @@
  * @return  A new Embryo program.
  * @ingroup Embryo_Program_Creation_Group
  */
-Embryo_Program *
+EAPI Embryo_Program *
 embryo_program_new(void *data, int size)
 {
    Embryo_Program *ep;
@@ -262,7 +262,7 @@
  * @return  A new Embryo program.
  * @ingroup Embryo_Program_Creation_Group
  */
-Embryo_Program *
+EAPI Embryo_Program *
 embryo_program_const_new(void *data, int size)
 {
    Embryo_Program *ep;
@@ -288,7 +288,7 @@
  * @return  A new Embryo program.
  * @ingroup Embryo_Program_Creation_Group
  */
-Embryo_Program *
+EAPI Embryo_Program *
 embryo_program_load(char *file)
 {
    Embryo_Program *ep;
@@ -340,7 +340,7 @@
  * @param   ep The given program.
  * @ingroup Embryo_Program_Creation_Group
  */
-void
+EAPI void
 embryo_program_free(Embryo_Program *ep)
 {
    int i;
@@ -370,7 +370,7 @@
  * @param   func The function to use when the call is made.
  * @ingroup Embryo_Func_Group
  */
-void
+EAPI void
 embryo_program_native_call_add(Embryo_Program *ep, char *name, Embryo_Cell 
(*func) (Embryo_Program *ep, Embryo_Cell *params))
 {
    Embryo_Func_Stub *func_entry;
@@ -449,7 +449,7 @@
  * @param   ep The given program.
  * @ingroup Embryo_Program_VM_Group
  */
-void
+EAPI void
 embryo_program_vm_reset(Embryo_Program *ep)
 {
    Embryo_Header *hdr;
@@ -473,7 +473,7 @@
  * @param   ep The given program.
  * @ingroup Embryo_Program_VM_Group
  */
-void
+EAPI void
 embryo_program_vm_push(Embryo_Program *ep)
 {
    Embryo_Header *hdr;
@@ -505,7 +505,7 @@
  * @param   ep The given program.
  * @ingroup Embryo_Program_VM_Group
  */
-void
+EAPI void
 embryo_program_vm_pop(Embryo_Program *ep)
 {
    if ((!ep) || (!ep->base)) return;
@@ -530,7 +530,7 @@
  * @param   v Pointer to the given integer.
  * @ingroup Embryo_Swap_Group
  */
-void
+EAPI void
 embryo_swap_16(unsigned short *v)
 {
 #ifdef WORDS_BIGENDIAN
@@ -544,7 +544,7 @@
  * @param   v Pointer to the given integer.
  * @ingroup Embryo_Swap_Group
  */
-void
+EAPI void
 embryo_swap_32(unsigned int *v)
 {
 #ifdef WORDS_BIGENDIAN
@@ -559,7 +559,7 @@
  * @return  The function if successful.  Otherwise, @c EMBRYO_FUNCTION_NONE.
  * @ingroup Embryo_Func_Group
  */
-Embryo_Function
+EAPI Embryo_Function
 embryo_program_function_find(Embryo_Program *ep, char *name)
 {
    int            first, last, mid, result;
@@ -603,7 +603,7 @@
  *          otherwise.
  * @ingroup Embryo_Public_Variable_Group
  */
-Embryo_Cell
+EAPI Embryo_Cell
 embryo_program_variable_find(Embryo_Program *ep, char *name)
 {
    int            first, last, mid, result;
@@ -638,7 +638,7 @@
  * @return  The number of public variables.
  * @ingroup Embryo_Public_Variable_Group
  */
-int
+EAPI int
 embryo_program_variable_count_get(Embryo_Program *ep)
 {
    Embryo_Header *hdr;
@@ -658,7 +658,7 @@
  *          @c EMBRYO_CELL_NONE otherwise.
  * @ingroup Embryo_Public_Variable_Group
  */
-Embryo_Cell
+EAPI Embryo_Cell
 embryo_program_variable_get(Embryo_Program *ep, int num)
 {
    Embryo_Header *hdr;
@@ -685,7 +685,7 @@
  * @param   error The given error code.
  * @ingroup Embryo_Error_Group
  */
-void
+EAPI void
 embryo_program_error_set(Embryo_Program *ep, int error)
 {
    if (!ep) return;
@@ -698,7 +698,7 @@
  * @return  The current error code.
  * @ingroup Embryo_Error_Group
  */
-int
+EAPI int
 embryo_program_error_get(Embryo_Program *ep)
 {
    if (!ep) return EMBRYO_ERROR_NONE;
@@ -718,7 +718,7 @@
  * @param   data New bytecode data.
  * @ingroup Embryo_Program_Data_Group
  */
-void
+EAPI void
 embryo_program_data_set(Embryo_Program *ep, void *data)
 {
    if (!ep) return;
@@ -730,7 +730,7 @@
  * @param   ep The given program.
  * @ingroup Embryo_Program_Data_Group
  */
-void *
+EAPI void *
 embryo_program_data_get(Embryo_Program *ep)
 {
    if (!ep) return NULL;
@@ -744,7 +744,7 @@
  *          known, the string "(unknown)" is returned.
  * @ingroup Embryo_Error_Group
  */
-const char *
+EAPI const char *
 embryo_error_string_get(int error)
 {
    const char *messages[] =
@@ -794,7 +794,7 @@
  * @return  The length of the string.  @c 0 is returned if there is an error.
  * @ingroup Embryo_Data_String_Group
  */
-int
+EAPI int
 embryo_data_string_length_get(Embryo_Program *ep, Embryo_Cell *str_cell)
 {
    int            len;
@@ -817,7 +817,7 @@
  * @param   dst      The given buffer.
  * @ingroup Embryo_Data_String_Group
  */
-void
+EAPI void
 embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *str_cell, char *dst)
 {
    int            i;
@@ -862,7 +862,7 @@
  * @param str_cell Pointer to the first cell to copy the string to.
  * @ingroup Embryo_Data_String_Group
  */
-void
+EAPI void
 embryo_data_string_set(Embryo_Program *ep, char *src, Embryo_Cell *str_cell)
 {
    int            i;
@@ -911,7 +911,7 @@
  * @return  A pointer to the cell at the given address.
  * @ingroup Embryo_Data_String_Group
  */
-Embryo_Cell *
+EAPI Embryo_Cell *
 embryo_data_address_get(Embryo_Program *ep, Embryo_Cell addr)
 {
    Embryo_Header *hdr;
@@ -941,7 +941,7 @@
  *          @c EMBRYO_CELL_NONE otherwise.
  * @ingroup Embryo_Heap_Group
  */
-Embryo_Cell
+EAPI Embryo_Cell
 embryo_data_heap_push(Embryo_Program *ep, int cells)
 {
    Embryo_Header *hdr;
@@ -965,7 +965,7 @@
  * @param   down_to The given size.
  * @ingroup Embryo_Heap_Group
  */
-void
+EAPI void
 embryo_data_heap_pop(Embryo_Program *ep, Embryo_Cell down_to)
 {
    if (!ep) return;
@@ -986,7 +986,7 @@
  * @return  The number of virtual machines running.
  * @ingroup Embryo_Run_Group
  */
-int
+EAPI int
 embryo_program_recursion_get(Embryo_Program *ep)
 {
    return ep->run_count;
@@ -1029,7 +1029,7 @@
  *          it is allowed to in abstract machine instruction count.
  * @ingroup Embryo_Run_Group
  */
-int
+EAPI int
 embryo_program_run(Embryo_Program *ep, Embryo_Function fn)
 {
    Embryo_Header    *hdr;
@@ -2145,7 +2145,7 @@
  *          that was last called.
  * @ingroup Embryo_Run_Group
  */
-Embryo_Cell
+EAPI Embryo_Cell
 embryo_program_return_value_get(Embryo_Program *ep)
 {
    if (!ep) return 0;
@@ -2200,7 +2200,7 @@
  * 
  * @ingroup Embryo_Run_Group
  */
-void
+EAPI void
 embryo_program_max_cycle_run_set(Embryo_Program *ep, int max)
 {
    if (!ep) return;
@@ -2220,7 +2220,7 @@
  * 
  * @ingroup Embryo_Run_Group
  */
-int
+EAPI int
 embryo_program_max_cycle_run_get(Embryo_Program *ep)
 {
    if (!ep) return 0;
@@ -2241,7 +2241,7 @@
  * @return  @c 1 if successful.  @c 0 otherwise.
  * @ingroup Embryo_Parameter_Group
  */
-int
+EAPI int
 embryo_parameter_cell_push(Embryo_Program *ep, Embryo_Cell cell)
 {
    Embryo_Param *pr;
@@ -2271,7 +2271,7 @@
  * @return  @c 1 if successful.  @c 0 otherwise.
  * @ingroup Embryo_Parameter_Group
  */
-int
+EAPI int
 embryo_parameter_string_push(Embryo_Program *ep, char *str)
 {
    Embryo_Param *pr;
@@ -2311,7 +2311,7 @@
  * @return  @c 1 if successful.  @c 0 otherwise.
  * @ingroup Embryo_Parameter_Group
  */
-int
+EAPI int
 embryo_parameter_cell_array_push(Embryo_Program *ep, Embryo_Cell *cells, int 
num)
 {
    Embryo_Param *pr;
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/embryo/src/lib/embryo_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- embryo_main.c       25 Sep 2004 14:37:39 -0000      1.3
+++ embryo_main.c       6 Jan 2006 18:02:51 -0000       1.4
@@ -17,7 +17,7 @@
  *          shut down.
  * @ingroup Embryo_Library_Group
  */   
-int
+EAPI int
 embryo_init(void)
 {
    _embryo_init_count++;
@@ -34,7 +34,7 @@
  *          shutdown.
  * @ingroup Embryo_Library_Group
  */
-int
+EAPI int
 embryo_shutdown(void)
 {
    _embryo_init_count--;




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to