Evas: Add EVAS_API_RESET that overrides API with NULL.
authorTom Hacohen <tom@stosb.com>
Mon, 11 Apr 2011 10:18:06 +0000 (10:18 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 11 Apr 2011 10:18:06 +0000 (10:18 +0000)
SVN revision: 58541

legacy/evas/src/lib/include/evas_private.h

index 580653c..0957c6e 100644 (file)
@@ -913,6 +913,8 @@ struct _Evas_Mempool
   
 #define EVAS_API_OVERRIDE(func, api, prefix) \
      (api)->func = prefix##func
+#define EVAS_API_RESET(func, api) \
+     (api)->func = NULL
 
 #include "evas_inline.x"