Sha256: f6b201f24fb4ecbbb1a60a30af216e59277dd0bb7dec6e190941894fc848f308
Contents?: true
Size: 1.05 KB
Versions: 10
Compression:
Stored size: 1.05 KB
Contents
#include "Stdafx.h" extern "C" { __declspec(dllexport) void Table_Release(TableInformationPtr tableInfo) { delete tableInfo; } __declspec(dllexport) TableInformationPtr Table_Information(ElementInformationPtr element, char* errorInfo, const int errorInfoLength) { try { return new TableInformation(Find(element)->As<TablePattern^>(TablePattern::Pattern)->Current); } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return NULL; } } __declspec(dllexport) int Table_Headers(ElementInformationPtr element, ElementInformation** headers, char* errorInfo, const int errorInfoLength) { try { auto headerElements = Find(element)->As<TablePattern^>(TablePattern::Pattern)->Current.GetColumnHeaders(); *headers = ElementInformation::From(Element::From(headerElements)); return headerElements->Length; } catch(Exception^ e) { StringHelper::CopyToUnmanagedString(e->Message, errorInfo, errorInfoLength); return 0; } } }
Version data entries
10 entries across 10 versions & 1 rubygems