ext/rays/native.cpp in rays-0.1.2 vs ext/rays/native.cpp in rays-0.1.3
- old
+ new
@@ -1,8 +1,12 @@
#include <rucy.h>
+#include "defs.h"
+using namespace Rucy;
+
+
void Init_rays ();
void Init_bitmap ();
void Init_texture ();
void Init_image ();
void Init_font ();
@@ -11,10 +15,10 @@
extern "C" void
Init_native ()
{
if (!Rucy::init())
- Rucy::raise(rb_eLoadError, "Rucy::init() failed.");
+ raise(rb_eLoadError, "Rucy::init() failed.");
Init_rays();
Init_bitmap();
Init_texture();
Init_image();