diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-05-16 10:39:09 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-05-16 10:39:09 (GMT) |
commit | 42d1c9715be3865776b2047b3c1e8c8177d492c0 (patch) | |
tree | 299ac34b04dfc325c5dece7d42c203d61582bcd8 /src/uscxml/plugins/datamodel/c89/C89DataModel.h | |
parent | 3e099d9fa8780a1206f2bb0a285241f156fa5138 (diff) | |
download | uscxml-42d1c9715be3865776b2047b3c1e8c8177d492c0.zip uscxml-42d1c9715be3865776b2047b3c1e8c8177d492c0.tar.gz uscxml-42d1c9715be3865776b2047b3c1e8c8177d492c0.tar.bz2 |
Preparations for C89 datamodel
Diffstat (limited to 'src/uscxml/plugins/datamodel/c89/C89DataModel.h')
-rw-r--r-- | src/uscxml/plugins/datamodel/c89/C89DataModel.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/uscxml/plugins/datamodel/c89/C89DataModel.h b/src/uscxml/plugins/datamodel/c89/C89DataModel.h index 526d06c..880b6a4 100644 --- a/src/uscxml/plugins/datamodel/c89/C89DataModel.h +++ b/src/uscxml/plugins/datamodel/c89/C89DataModel.h @@ -23,7 +23,10 @@ #include "uscxml/plugins/DataModelImpl.h" #include <list> +#ifndef WIN32 #define UNIX_HOST +#endif + #define PICOC_STACK_SIZE (128*1024) /* space for the the stack */ extern "C" { @@ -80,8 +83,13 @@ public: virtual bool isDeclared(const std::string& expr); - virtual void assign(const std::string& location, const Data& data); - virtual void init(const std::string& location, const Data& data); + virtual void assign(const std::string& location, + const Data& data, + const std::map<std::string, std::string>& attr = std::map<std::string, std::string>()); + + virtual void init(const std::string& location, + const Data& data, + const std::map<std::string, std::string>& attr = std::map<std::string, std::string>()); virtual std::string andExpressions(std::list<std::string>); |