aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/ecore/src/lib/ecore/ecore.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2010-02-01 20:20:06 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2010-02-01 20:20:06 +0000
commit75f4ccbbe5db7fdf1d4ad067b7e21289f351c4f8 (patch)
tree1c123116ac1257d521bf64dbd2010543c1156525 /legacy/ecore/src/lib/ecore/ecore.c
parentWhen a clipper is no more, redraw the portion of the canvas it takes. (diff)
downloadefl-75f4ccbbe5db7fdf1d4ad067b7e21289f351c4f8.tar.gz
More ecore_data to separate lib
SVN revision: 45782
Diffstat (limited to 'legacy/ecore/src/lib/ecore/ecore.c')
-rw-r--r--legacy/ecore/src/lib/ecore/ecore.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore/ecore.c b/legacy/ecore/src/lib/ecore/ecore.c
index 9a2d70b56e..60c6470fe9 100644
--- a/legacy/ecore/src/lib/ecore/ecore.c
+++ b/legacy/ecore/src/lib/ecore/ecore.c
@@ -154,6 +154,18 @@ ecore_shutdown(void)
}
EAPI void
+ecore_print_warning(const char *function, const char *sparam)
+{
+ WRN("***** Developer Warning ***** :\n"
+ "\tThis program is calling:\n\n"
+ "\t%s();\n\n"
+ "\tWith the parameter:\n\n"
+ "\t%s\n\n"
+ "\tbeing NULL. Please fix your program.", function, sparam);
+ if (getenv("ECORE_ERROR_ABORT")) abort();
+}
+
+EAPI void
_ecore_magic_fail(const void *d, Ecore_Magic m, Ecore_Magic req_m, const char *fname)
{
ERR("\n"