Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/edje

Dir     : e17/libs/edje/src/lib


Modified Files:
        edje_embryo.c 


Log Message:


remove that debug... dont need that.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/edje/src/lib/edje_embryo.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edje_embryo.c       28 Mar 2004 05:26:17 -0000      1.2
+++ edje_embryo.c       28 Mar 2004 06:21:52 -0000      1.3
@@ -43,6 +43,17 @@
    return 0;
 }
 
+/* routines to export:
+ * 
+ * glob_match()
+ * strcmp()
+ * strcpy()
+ * strlen()
+ * rand()
+ * time()
+ * ... more to come
+ */
+
 void
 _edje_embryo_script_init(Edje *ed)
 {
@@ -58,18 +69,6 @@
    embryo_program_native_call_add(ep, "emit", _edje_embryo_fn_emit);
    
    embryo_program_vm_push(ep); /* neew a new vm to run in */
-   /* by default always call main() to init stuff */
-   if (embryo_program_run(ep, EMBRYO_FUNCTION_MAIN) != EMBRYO_PROGRAM_OK)
-     /* FIXME: debugging hack!!!! */
-     {
-       printf("EDJE DEBUG: Run of main() failed. Reason:\n");
-       printf("%s\n", embryo_error_string_get(embryo_program_error_get(ep)));
-     }
-   else
-     {
-       printf("EDJE DEBUG: main() returned %i\n",
-              embryo_program_return_value_get(ep));
-     }
 }
 
 void




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to