/* OBJECT_CHECK is a simple null pointer and magic number check with no */
/* debug output */
-//#define OBJECT_PARANOIA_CHECK
-//#define OBJECT_CHECK
+/* #define OBJECT_PARANOIA_CHECK */
+/* #define OBJECT_CHECK */
#ifndef __GLIBC__
# ifdef OBJECT_PARANOIA_CHECK
/* basic ecore init */
if (!ecore_init())
{
- printf("ERROR: Enlightenment cannot Initialize Ecore!\n"
+ fprintf(stderr, "ERROR: Enlightenment cannot Initialize Ecore!\n"
"Perhaps you are out of memory?\n");
return 0;
}
/* init ipc */
if (!ecore_ipc_init())
{
- printf("ERROR: Enlightenment cannot initialize the ipc system.\n"
+ fprintf(stderr, "ERROR: Enlightenment cannot initialize the ipc system.\n"
"Perhaps you are out of memory?\n");
return 0;
}
/* setup e ipc service */
if (!_e_ipc_init(display))
{
- printf("ERROR: Enlightenment cannot set up the IPC socket.\n"
+ fprintf(stderr, "ERROR: Enlightenment cannot set up the IPC socket.\n"
"Did you specify the right display?\n");
return 0;
}
/* similar... */
if (!_e_ipc_server) return 0;
-// ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_ADD, _e_cb_server_add, NULL);
-// ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _e_cb_server_del, NULL);
+/* ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_ADD, _e_cb_server_add, NULL);*/
+/* ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DEL, _e_cb_server_del, NULL);*/
ecore_event_handler_add(ECORE_IPC_EVENT_SERVER_DATA, _e_cb_server_data, NULL);
return 1;