forked from enlightenment/efl
move header files from embryo_private.h to source files
SVN revision: 36915
This commit is contained in:
parent
b22c8702ab
commit
67acca9238
|
@ -24,8 +24,18 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
#include "embryo_private.h"
|
#include "embryo_private.h"
|
||||||
|
|
||||||
|
|
||||||
#define JUMPABS(base, ip) ((Embryo_Cell *)(code + (*ip)))
|
#define JUMPABS(base, ip) ((Embryo_Cell *)(code + (*ip)))
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
|
|
@ -2,6 +2,28 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_ALLOCA_H
|
||||||
|
# include <alloca.h>
|
||||||
|
#elif defined __GNUC__
|
||||||
|
# define alloca __builtin_alloca
|
||||||
|
#elif defined _AIX
|
||||||
|
# define alloca __alloca
|
||||||
|
#elif defined _MSC_VER
|
||||||
|
# include <malloc.h>
|
||||||
|
# define alloca _alloca
|
||||||
|
#else
|
||||||
|
# include <stddef.h>
|
||||||
|
# ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
# endif
|
||||||
|
void *alloca (size_t);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
#include "embryo_private.h"
|
#include "embryo_private.h"
|
||||||
|
|
||||||
#define STRSET(ep, par, str) { \
|
#define STRSET(ep, par, str) { \
|
||||||
|
|
|
@ -40,7 +40,14 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
#include "embryo_private.h"
|
#include "embryo_private.h"
|
||||||
|
|
||||||
#define PI 3.1415926535897932384626433832795
|
#define PI 3.1415926535897932384626433832795
|
||||||
|
|
|
@ -2,9 +2,16 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "embryo_private.h"
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
|
#include "embryo_private.h"
|
||||||
|
|
||||||
static int _embryo_init_count = 0;
|
static int _embryo_init_count = 0;
|
||||||
|
|
||||||
/*** EXPORTED CALLS ***/
|
/*** EXPORTED CALLS ***/
|
||||||
|
|
|
@ -1,38 +1,9 @@
|
||||||
#ifndef _EMBRYO_PRIVATE_H
|
#ifndef _EMBRYO_PRIVATE_H
|
||||||
#define _EMBRYO_PRIVATE_H
|
#define _EMBRYO_PRIVATE_H
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <limits.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
|
||||||
# include "config.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_ALLOCA_H
|
|
||||||
# include <alloca.h>
|
|
||||||
#elif defined __GNUC__
|
|
||||||
# define alloca __builtin_alloca
|
|
||||||
#elif defined _AIX
|
|
||||||
# define alloca __alloca
|
|
||||||
#elif defined _MSC_VER
|
|
||||||
# include <malloc.h>
|
|
||||||
# define alloca _alloca
|
|
||||||
#else
|
|
||||||
# include <stddef.h>
|
|
||||||
# ifdef __cplusplus
|
|
||||||
extern "C"
|
|
||||||
# endif
|
|
||||||
void *alloca (size_t);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <eina_types.h>
|
#include <eina_types.h>
|
||||||
|
|
||||||
#include "Embryo.h"
|
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
# if __GNUC__ >= 4
|
# if __GNUC__ >= 4
|
||||||
|
|
|
@ -2,6 +2,13 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
#include "embryo_private.h"
|
#include "embryo_private.h"
|
||||||
|
|
||||||
/* exported random number api */
|
/* exported random number api */
|
||||||
|
|
|
@ -2,9 +2,18 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "embryo_private.h"
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
|
#include "embryo_private.h"
|
||||||
|
|
||||||
#define STRGET(ep, str, par) { \
|
#define STRGET(ep, str, par) { \
|
||||||
Embryo_Cell *___cptr; \
|
Embryo_Cell *___cptr; \
|
||||||
str = NULL; \
|
str = NULL; \
|
||||||
|
|
|
@ -2,14 +2,20 @@
|
||||||
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "embryo_private.h"
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <sys/time.h>
|
# include "config.h"
|
||||||
#include <time.h>
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_GETTIMEOFDAY
|
#ifndef HAVE_GETTIMEOFDAY
|
||||||
# error "Your platform isn't supported yet"
|
# error "Your platform isn't supported yet"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
|
#include "Embryo.h"
|
||||||
|
#include "embryo_private.h"
|
||||||
|
|
||||||
/* exported time api */
|
/* exported time api */
|
||||||
|
|
||||||
static Embryo_Cell
|
static Embryo_Cell
|
||||||
|
|
Loading…
Reference in New Issue