ext/rays/point.cpp in rays-0.2.1 vs ext/rays/point.cpp in rays-0.3
- old
+ new
@@ -3,11 +3,11 @@
#include <assert.h>
#include "defs.h"
-RUCY_DEFINE_VALUE_OR_ARRAY_FROM_TO(Rays::Point)
+RUCY_DEFINE_VALUE_OR_ARRAY_FROM_TO(RAYS_EXPORT, Rays::Point)
#define THIS to<Rays::Point*>(self)
#define CHECK RUCY_CHECK_OBJ(Rays::Point, self)
@@ -297,10 +297,10 @@
namespace Rucy
{
- template <> Rays::Point
+ template <> RAYS_EXPORT Rays::Point
value_to<Rays::Point> (int argc, const Value* argv, bool convert)
{
if (argc == 1 && argv->is_array())
{
argc = argv->size();