Commit 44a307f8 authored by Norby, Tom's avatar Norby, Tom
Browse files

Export symbols for dll.

parent 33cf5ac2
Pipeline #95822 passed with stages
in 22 minutes and 30 seconds
...@@ -9,12 +9,13 @@ ...@@ -9,12 +9,13 @@
#include <vector> #include <vector>
#include "radixcore/value.hh" #include "radixcore/value.hh"
#include "radixcore/visibility.hh"
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
// see www.json.org for parsing grammar // see www.json.org for parsing grammar
namespace radix namespace radix
{ {
class JSONParser class RADIX_PUBLIC JSONParser
{ {
public: public:
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
......
...@@ -6,13 +6,15 @@ ...@@ -6,13 +6,15 @@
#include <string> #include <string>
#include <vector> #include <vector>
#include "radixcore/visibility.hh"
namespace radix namespace radix
{ {
/** /**
* @brief The Value class represents values of objects (null, integer, double, * @brief The Value class represents values of objects (null, integer, double,
* string, array, or object) * string, array, or object)
*/ */
class Value class RADIX_PUBLIC Value
{ {
public: public:
typedef std::shared_ptr<Value> SP; typedef std::shared_ptr<Value> SP;
...@@ -144,7 +146,7 @@ class Value ...@@ -144,7 +146,7 @@ class Value
void copy_from(const Value& orig); void copy_from(const Value& orig);
}; };
class DataArray class RADIX_PUBLIC DataArray
{ {
public: public:
typedef std::shared_ptr<DataArray> SP; typedef std::shared_ptr<DataArray> SP;
...@@ -191,7 +193,7 @@ class DataArray ...@@ -191,7 +193,7 @@ class DataArray
void merge(const DataArray& rhs); void merge(const DataArray& rhs);
}; };
class DataObject class RADIX_PUBLIC DataObject
{ {
public: public:
typedef std::shared_ptr<DataObject> SP; typedef std::shared_ptr<DataObject> SP;
...@@ -244,8 +246,8 @@ class DataObject ...@@ -244,8 +246,8 @@ class DataObject
}; };
template <class Interp> template <class Interp>
bool generate_object(DataObject::SP& obj, std::istream& input, RADIX_PUBLIC bool generate_object(DataObject::SP& obj, std::istream& input,
std::ostream& errors) std::ostream& errors)
{ {
Interp interpreter(obj, input, errors, nullptr); Interp interpreter(obj, input, errors, nullptr);
bool parsed = interpreter.parse() == 0; bool parsed = interpreter.parse() == 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment