summaryrefslogtreecommitdiff
path: root/platform/node/src/node_expression.hpp
diff options
context:
space:
mode:
authorAnand Thakker <github@anandthakker.net>2017-07-09 17:00:52 -0400
committerAnand Thakker <github@anandthakker.net>2017-07-09 17:00:52 -0400
commit945cdebe9b37c3de764d382cf216d55ee0b7fce6 (patch)
tree8f144b4b2d24f0d8fc26538c3fea189cf60782fe /platform/node/src/node_expression.hpp
parent8f7bfb80c401447758229a92d6b268783089f23c (diff)
downloadqtlocation-mapboxgl-945cdebe9b37c3de764d382cf216d55ee0b7fce6.tar.gz
Wrap EvaluationParameters and return an <Error, Value> variant
Diffstat (limited to 'platform/node/src/node_expression.hpp')
-rw-r--r--platform/node/src/node_expression.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/node/src/node_expression.hpp b/platform/node/src/node_expression.hpp
index 3797632236..5cfc3b553e 100644
--- a/platform/node/src/node_expression.hpp
+++ b/platform/node/src/node_expression.hpp
@@ -16,6 +16,8 @@ using namespace mbgl::style::expression;
namespace node_mbgl {
+v8::Local<v8::Value> toJS(const Value&);
+
class NodeExpression : public Nan::ObjectWrap {
public:
static void Init(v8::Local<v8::Object>);