add warning messages for ecore_cocoa, ecore_win32 and ecore_wince

SVN revision: 52669
This commit is contained in:
Vincent Torri 2010-09-24 05:30:51 +00:00
parent 60b4269b5f
commit b565d00399
3 changed files with 37 additions and 7 deletions

View File

@ -1,19 +1,29 @@
#ifndef _ECORE_COCOA_H
#define _ECORE_COCOA_H
/*
* DO NOT USE THIS HEADER. IT IS WORK IN PROGRESS. IT IS NOT FINAL AND
* THE API MAY CHANGE.
*/
#ifndef ECORE_COCOA_WIP_GNSIDNQI
# warning "You are using a work in progress API. This API is not stable"
# warning "and is subject to change. You use this at your own risk."
#endif
#ifdef EAPI
# undef EAPI
#endif
# ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
#ifdef __GNUC__
# if __GNUC__ >= 4
# define EAPI __attribute__ ((visibility("default")))
# else
# define EAPI
# endif
#else
# define EAPI
#endif
#ifdef __cplusplus
extern "C" {

View File

@ -1,6 +1,16 @@
#ifndef __ECORE_WIN32_H__
#define __ECORE_WIN32_H__
/*
* DO NOT USE THIS HEADER. IT IS WORK IN PROGRESS. IT IS NOT FINAL AND
* THE API MAY CHANGE.
*/
#ifndef ECORE_WIN32_WIP_POZEFLKSD
# warning "You are using a work in progress API. This API is not stable"
# warning "and is subject to change. You use this at your own risk."
#endif
#include <Eina.h>
#ifdef EAPI

View File

@ -1,13 +1,23 @@
#ifndef __ECORE_WINCE_H__
#define __ECORE_WINCE_H__
/*
* DO NOT USE THIS HEADER. IT IS WORK IN PROGRESS. IT IS NOT FINAL AND
* THE API MAY CHANGE.
*/
#ifndef ECORE_WINCE_WIP_OSXCKQSD
# warning "You are using a work in progress API. This API is not stable"
# warning "and is subject to change. You use this at your own risk."
#endif
#include <Eina.h>
#ifdef EAPI
# undef EAPI
#endif
#ifdef _WINCE
#ifdef _WIN32
# ifdef EFL_ECORE_WINCE_BUILD
# ifdef DLL_EXPORT
# define EAPI __declspec(dllexport)