move header files from embryo_private.h to source files

SVN revision: 36915
devs/devilhorns/wayland_egl
Vincent Torri 15 years ago
parent b22c8702ab
commit 67acca9238
  1. 10
      legacy/embryo/src/lib/embryo_amx.c
  2. 22
      legacy/embryo/src/lib/embryo_args.c
  3. 7
      legacy/embryo/src/lib/embryo_float.c
  4. 9
      legacy/embryo/src/lib/embryo_main.c
  5. 29
      legacy/embryo/src/lib/embryo_private.h
  6. 7
      legacy/embryo/src/lib/embryo_rand.c
  7. 11
      legacy/embryo/src/lib/embryo_str.c
  8. 12
      legacy/embryo/src/lib/embryo_time.c

@ -24,8 +24,18 @@
* 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"
#define JUMPABS(base, ip) ((Embryo_Cell *)(code + (*ip)))
#ifdef WORDS_BIGENDIAN

@ -2,6 +2,28 @@
* 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"
#define STRSET(ep, par, str) { \

@ -40,7 +40,14 @@
* 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 "Embryo.h"
#include "embryo_private.h"
#define PI 3.1415926535897932384626433832795

@ -2,9 +2,16 @@
* 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 "Embryo.h"
#include "embryo_private.h"
static int _embryo_init_count = 0;
/*** EXPORTED CALLS ***/

@ -1,38 +1,9 @@
#ifndef _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 "Embryo.h"
#ifdef __GNUC__
# if __GNUC__ >= 4

@ -2,6 +2,13 @@
* 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"
/* exported random number api */

@ -2,9 +2,18 @@
* 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 "Embryo.h"
#include "embryo_private.h"
#define STRGET(ep, str, par) { \
Embryo_Cell *___cptr; \
str = NULL; \

@ -2,14 +2,20 @@
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
*/
#include "embryo_private.h"
#include <sys/time.h>
#include <time.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#ifndef HAVE_GETTIMEOFDAY
# error "Your platform isn't supported yet"
#endif
#include <sys/time.h>
#include <time.h>
#include "Embryo.h"
#include "embryo_private.h"
/* exported time api */
static Embryo_Cell

Loading…
Cancel
Save