From: <enl...@li...> - 2004-04-25 18:51:39
|
Enlightenment CVS committal Author : atmosphere Project : e17 Module : proto Dir : e17/proto/esmart/src/container Modified Files: Esmart_Container.h Log Message: c++ friendly headers(i think?) reported by dan sinclair =================================================================== RCS file: /cvsroot/enlightenment/e17/proto/esmart/src/container/Esmart_Container.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- Esmart_Container.h 22 Apr 2004 16:32:03 -0000 1.1 +++ Esmart_Container.h 25 Apr 2004 15:19:48 -0000 1.2 @@ -1,5 +1,5 @@ -#ifndef CONTAINER_H -#define CONTAINER_H +#ifndef ESMART_CONTAINER_H +#define ESMART_CONTAINER_H #include <Evas.h> #include <Ecore.h> @@ -13,6 +13,9 @@ o add a "mover" object that tracks where moving element will go ****/ +#ifdef __cplusplus +extern "C" { +#endif typedef struct _Container Container; typedef struct _Container_Element Container_Element; @@ -184,4 +187,8 @@ void esmart_container_scroll_to(Evas_Object *container, Evas_Object *element); +#ifdef __cplusplus +} +#endif + #endif |