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

Export symbols for dll.

parent 33cf5ac2
Pipeline #95822 passed with stages
in 22 minutes and 30 seconds
......@@ -9,12 +9,13 @@
#include <vector>
#include "radixcore/value.hh"
#include "radixcore/visibility.hh"
//-----------------------------------------------------------------------------
// see www.json.org for parsing grammar
namespace radix
{
class JSONParser
class RADIX_PUBLIC JSONParser
{
public:
//-------------------------------------------------------------------------
......
......@@ -6,13 +6,15 @@
#include <string>
#include <vector>
#include "radixcore/visibility.hh"
namespace radix
{
/**
* @brief The Value class represents values of objects (null, integer, double,
* string, array, or object)
*/
class Value
class RADIX_PUBLIC Value
{
public:
typedef std::shared_ptr<Value> SP;
......@@ -144,7 +146,7 @@ class Value
void copy_from(const Value& orig);
};
class DataArray
class RADIX_PUBLIC DataArray
{
public:
typedef std::shared_ptr<DataArray> SP;
......@@ -191,7 +193,7 @@ class DataArray
void merge(const DataArray& rhs);
};
class DataObject
class RADIX_PUBLIC DataObject
{
public:
typedef std::shared_ptr<DataObject> SP;
......@@ -244,8 +246,8 @@ class DataObject
};
template <class Interp>
bool generate_object(DataObject::SP& obj, std::istream& input,
std::ostream& errors)
RADIX_PUBLIC bool generate_object(DataObject::SP& obj, std::istream& input,
std::ostream& errors)
{
Interp interpreter(obj, input, errors, nullptr);
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