From cbfd5e980ef1fc5f3c01ebcba2fd9ca7ca190d0f Mon Sep 17 00:00:00 2001 From: Zlodiy Date: Thu, 5 Jun 2014 15:11:06 +1100 Subject: [PATCH] Alternative solution using union --- pyc_numeric.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyc_numeric.h b/pyc_numeric.h index ad03bc8..96f289c 100644 --- a/pyc_numeric.h +++ b/pyc_numeric.h @@ -2,6 +2,7 @@ #define _PYC_NUMERIC_H #include "pyc_object.h" +#include "data.h" #include #include @@ -97,7 +98,7 @@ private: { Pyc_INT64 m_value_i64; double m_value; - } + }; }; class PycCComplex : public PycCFloat { @@ -120,7 +121,7 @@ private: { Pyc_INT64 m_imag_i64; double m_imag; - } + }; }; #endif