put eina_init() and eina_shutdown() in their own header file

SVN revision: 38738
This commit is contained in:
Vincent Torri 2009-01-23 14:46:56 +00:00
parent c141b1c636
commit da4cbd5c95
3 changed files with 29 additions and 6 deletions

View File

@ -138,6 +138,7 @@ extern "C" {
#include "eina_config.h"
#include "eina_types.h"
#include "eina_main.h"
#include "eina_f16p16.h"
#include "eina_rectangle.h"
#include "eina_inlist.h"
@ -158,9 +159,6 @@ extern "C" {
#include "eina_benchmark.h"
#include "eina_convert.h"
EAPI int eina_init(void);
EAPI int eina_shutdown(void);
#ifdef __cplusplus
}
#endif

View File

@ -27,7 +27,8 @@ eina_benchmark.h \
eina_inline_rbtree.x \
eina_inline_mempool.x \
eina_inline_rectangle.x \
eina_iterator.h
eina_iterator.h \
eina_main.h
installed_mainheaderdir = $(includedir)/eina-@VMAJ@
installed_mainheader_DATA = Eina.h eina_config.h
@ -36,7 +37,5 @@ installed_headersdir = $(includedir)/eina-@VMAJ@/eina
installed_headers_DATA = $(EINAHEADERS)
EXTRA_DIST = \
Eina.h \
eina_config.h.in \
$(EINAHEADERS) \
eina_private.h

View File

@ -0,0 +1,26 @@
/* EINA - EFL data type library
* Copyright (C) 2008 Cedric Bail
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library;
* if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef EINA_MAIN_H_
#define EINA_MAIN_H_
EAPI int eina_init(void);
EAPI int eina_shutdown(void);
#endif /* EINA_MAIN_H_ */