Sha256: 8a19102c63bb6d95fda134cfc9474d3cbc935315638aba7a2ade79a8438a229c
Contents?: true
Size: 988 Bytes
Versions: 16
Compression:
Stored size: 988 Bytes
Contents
#include "Stdafx.h" extern "C" { __declspec(dllexport) void Value_Release(ValuePatternInformationPtr valueInformation) { delete valueInformation; } __declspec(dllexport) void Value_Set(ElementInformationPtr element, const char* value, char* errorInfo, const int errorInfoLength) { try { Find(element)->As<ValuePattern^>(ValuePattern::Pattern)->SetValue(gcnew String(value)); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); } } __declspec(dllexport) ValuePatternInformationPtr Value_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { auto valuePattern = Find(element)->As<ValuePattern^>(ValuePattern::Pattern); return new ValuePatternInformation(valuePattern->Current); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return NULL; } } }
Version data entries
16 entries across 16 versions & 1 rubygems