/*
- * $Id: rb_ecore.c 27 2004-07-08 18:25:05Z tilman $
+ * $Id: rb_ecore.c 45 2004-07-26 11:00:14Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
#include <Ecore.h>
+#define __RB_ECORE_C
#include "rb_ecore.h"
#include "rb_timer.h"
#include "rb_idler.h"
+VALUE mEcore;
+
#ifdef DEBUG
static VALUE m_init (VALUE self)
{
/*
- * $Id: rb_ecore.h 40 2004-07-25 13:14:34Z tilman $
+ * $Id: rb_ecore.h 45 2004-07-26 11:00:14Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
\
return rb_str_new2 (buf);
+#ifndef __RB_ECORE_C
VALUE mEcore;
+#endif
#endif
/*
- * $Id: rb_ecore_evas.c 40 2004-07-25 13:14:34Z tilman $
+ * $Id: rb_ecore_evas.c 45 2004-07-26 11:00:14Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
#include <Ecore_Evas.h>
#include <rb_evas.h>
+#define __RB_ECORE_EVAS_C
#include "../ecore/rb_ecore.h"
#include "rb_ecore_evas_main.h"
#include "rb_ecore_evas.h"
#define CALLBACK_ADD(mod, name) \
rb_define_method ((mod), "on_"#name, c_on_##name, 0);
+VALUE cEcoreEvas;
static VALUE evases, callbacks, objects;
/* called by the child classes */
/*
- * $Id: rb_ecore_evas.h 9 2004-06-19 19:53:47Z tilman $
+ * $Id: rb_ecore_evas.h 45 2004-07-26 11:00:14Z tilman $
*
* Copyright (C) 2004 Tilman Sauerbeck (tilman at code-monkey de)
*
#ifndef __RB_ECORE_EVAS_H
#define __RB_ECORE_EVAS_H
+#ifndef __RB_ECORE_EVAS_C
VALUE cEcoreEvas;
+#endif
void Init_EcoreEvas (void);