| Index: compiled/filter/Filter.h |
| =================================================================== |
| --- a/compiled/filter/Filter.h |
| +++ b/compiled/filter/Filter.h |
| @@ -17,16 +17,17 @@ |
| #pragma once |
| #include <vector> |
| #include "../String.h" |
| #include "../intrusive_ptr.h" |
| #include "../debug.h" |
| +#include "../bindings/runtime.h" |
| class Filter : public ref_counted |
| { |
| protected: |
| OwnedString mText; |
| public: |
| enum Type |
| @@ -42,19 +43,19 @@ public: |
| VALUE_COUNT = 8 |
| }; |
| explicit Filter(Type type, const String& text); |
| ~Filter(); |
| Type mType; |
| - EMSCRIPTEN_KEEPALIVE const String& GetText() const |
| + BINDINGS_EXPORTED const String& GetText() const |
| { |
| return mText; |
| } |
| - EMSCRIPTEN_KEEPALIVE OwnedString Serialize() const; |
| + BINDINGS_EXPORTED OwnedString Serialize() const; |
| - static EMSCRIPTEN_KEEPALIVE Filter* FromText(DependentString& text); |
| + static BINDINGS_EXPORTED Filter* FromText(DependentString& text); |
| }; |
| typedef intrusive_ptr<Filter> FilterPtr; |