diff options
author | Stefan Radomski <github@mintwerk.de> | 2017-07-19 14:40:15 (GMT) |
---|---|---|
committer | Stefan Radomski <github@mintwerk.de> | 2017-07-19 14:40:15 (GMT) |
commit | 9db80409b3ca048c4b404a43d2c224f374c0090a (patch) | |
tree | 09967edf3ce8cc89c541cdbe342fb60784f559ac /src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc | |
parent | 04b04aa6624caf73ffe4fc33f918e7f48b27da37 (diff) | |
download | uscxml-9db80409b3ca048c4b404a43d2c224f374c0090a.zip uscxml-9db80409b3ca048c4b404a43d2c224f374c0090a.tar.gz uscxml-9db80409b3ca048c4b404a43d2c224f374c0090a.tar.bz2 |
DOM with Lua DataModel and dropped V8
Diffstat (limited to 'src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc')
-rw-r--r-- | src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc b/src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc index 757c8a7..d8cb61a 100644 --- a/src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc +++ b/src/uscxml/plugins/datamodel/ecmascript/v8/V8Event.cpp.inc @@ -1,6 +1,6 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). - * Version 3.0.13 + * Version 4.0.0 * * This file is not intended to be easily readable and contains a number of * coding conventions designed to improve portability and efficiency. Do not make @@ -1496,7 +1496,7 @@ static swig_module_info swig_module = {swig_types, 9, 0, 0, 0, 0}; -#define SWIGVERSION 0x030013 +#define SWIGVERSION 0x040000 #define SWIG_VERSION SWIGVERSION @@ -2210,6 +2210,34 @@ fail: } +static SwigV8ReturnValue _wrap_Event_getUUID(const SwigV8Arguments &args) { + SWIGV8_HANDLESCOPE(); + + v8::Handle<v8::Value> jsresult; + uscxml::Event *arg1 = (uscxml::Event *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + std::string *result = 0 ; + + if(args.Length() != 0) SWIG_exception_fail(SWIG_ERROR, "Illegal number of arguments for _wrap_Event_getUUID."); + + res1 = SWIG_ConvertPtr(args.Holder(), &argp1,SWIGTYPE_p_uscxml__Event, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "Event_getUUID" "', argument " "1"" of type '" "uscxml::Event const *""'"); + } + arg1 = (uscxml::Event *)(argp1); + result = (std::string *) &((uscxml::Event const *)arg1)->getUUID(); + jsresult = SWIG_From_std_string((std::string)(*result)); + + + SWIGV8_RETURN(jsresult); + + goto fail; +fail: + SWIGV8_RETURN(SWIGV8_UNDEFINED()); +} + + static void _wrap_Event_raw_set(v8::Local<v8::String> property, v8::Local<v8::Value> value, const SwigV8PropertyCallbackInfoVoid &info) { SWIGV8_HANDLESCOPE(); @@ -2928,6 +2956,7 @@ if (SWIGTYPE_p_uscxml__ErrorEvent->clientdata == 0) { SWIGV8_AddStaticVariable(exports_obj, "XERCES_HAS_CPP_NAMESPACE", _wrap_XERCES_HAS_CPP_NAMESPACE, JS_veto_set_variable); SWIGV8_AddMemberFunction(_exports_Event_class, "operator_equal_to", _wrap_Event_operator_equal_to); SWIGV8_AddMemberFunction(_exports_Event_class, "operator_not_equal_to", _wrap_Event_operator_not_equal_to); +SWIGV8_AddMemberFunction(_exports_Event_class, "getUUID", _wrap_Event_getUUID); SWIGV8_AddMemberVariable(_exports_Event_class, "raw", _wrap_Event_raw_get, _wrap_Event_raw_set); SWIGV8_AddMemberVariable(_exports_Event_class, "name", _wrap_Event_name_get, _wrap_Event_name_set); SWIGV8_AddMemberVariable(_exports_Event_class, "eventType", _wrap_Event_eventType_get, _wrap_Event_eventType_set); |