Sha256: ea75c2107e9bcfb9bee513fd381170d3c0b0ed69f8b380cf2451c79e4081304f
Contents?: true
Size: 984 Bytes
Versions: 9
Compression:
Stored size: 984 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 { ElementFrom(element)->As<ValuePattern^>(ValuePattern::Pattern)->SetValue(gcnew String(value)); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); } } __declspec(dllexport) ValuePatternInformationPtr Value_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { auto valuePattern = ElementFrom(element)->As<ValuePattern^>(ValuePattern::Pattern); return new ValuePatternInformation(valuePattern->Current); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e, errorInfo, errorInfoLength); return NULL; } } }
Version data entries
9 entries across 9 versions & 1 rubygems