OpalKelly 5.3.3 → 5.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/OpalKelly/FrontPanelDLL_wrap.cxx +25 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 480974a79585bcf962db322d0e4a86de4761c336cf693b6b672ef7b0fbc427cd
|
|
4
|
+
data.tar.gz: 0abfb9234a7933df964a6190f553ba317c04c3e150fc205a0cb459d681e9212b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 10bd3ff3ff6bc7c030c237a6785cde05bceada338d44c0cfc764f7d3f52c92aa1b3928bac73aadc22817c0bd20d7d16aafa8074cc844c574854532ee038474c3
|
|
7
|
+
data.tar.gz: a5d7bac088e30b84f1c18785bcf83a9c53f2b8053713afb2380f45c460065fb68abd93fd47d3047db2cd0e3d816d0340fb8486953b98e6859292bed9a0ebd9cd
|
|
@@ -21114,6 +21114,30 @@ fail:
|
|
|
21114
21114
|
}
|
|
21115
21115
|
|
|
21116
21116
|
|
|
21117
|
+
SWIGINTERN VALUE
|
|
21118
|
+
_wrap_okCFrontPanel_GetErrorMessage(int argc, VALUE *argv, VALUE self) {
|
|
21119
|
+
OpalKellyLegacy::okCFrontPanel::ErrorCode arg1 ;
|
|
21120
|
+
int val1 ;
|
|
21121
|
+
int ecode1 = 0 ;
|
|
21122
|
+
char *result = 0 ;
|
|
21123
|
+
VALUE vresult = Qnil;
|
|
21124
|
+
|
|
21125
|
+
if ((argc < 1) || (argc > 1)) {
|
|
21126
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
|
21127
|
+
}
|
|
21128
|
+
ecode1 = SWIG_AsVal_int(argv[0], &val1);
|
|
21129
|
+
if (!SWIG_IsOK(ecode1)) {
|
|
21130
|
+
SWIG_exception_fail(SWIG_ArgError(ecode1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel::ErrorCode","OpalKellyLegacy::okCFrontPanel::GetErrorMessage", 1, argv[0] ));
|
|
21131
|
+
}
|
|
21132
|
+
arg1 = static_cast< OpalKellyLegacy::okCFrontPanel::ErrorCode >(val1);
|
|
21133
|
+
result = (char *)OpalKellyLegacy::okCFrontPanel::GetErrorMessage(arg1);
|
|
21134
|
+
vresult = SWIG_FromCharPtr((const char *)result);
|
|
21135
|
+
return vresult;
|
|
21136
|
+
fail:
|
|
21137
|
+
return Qnil;
|
|
21138
|
+
}
|
|
21139
|
+
|
|
21140
|
+
|
|
21117
21141
|
SWIGINTERN VALUE
|
|
21118
21142
|
_wrap_okCFrontPanel_GetLastErrorMessage(int argc, VALUE *argv, VALUE self) {
|
|
21119
21143
|
OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
|
|
@@ -27359,6 +27383,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
|
|
|
27359
27383
|
rb_define_const(SwigClassOkCFrontPanel.klass, "InvalidResetProfile", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::InvalidResetProfile)));
|
|
27360
27384
|
rb_define_const(SwigClassOkCFrontPanel.klass, "InvalidParameter", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::InvalidParameter)));
|
|
27361
27385
|
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "GetErrorString", VALUEFUNC(_wrap_okCFrontPanel_GetErrorString), -1);
|
|
27386
|
+
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "GetErrorMessage", VALUEFUNC(_wrap_okCFrontPanel_GetErrorMessage), -1);
|
|
27362
27387
|
rb_define_method(SwigClassOkCFrontPanel.klass, "GetLastErrorMessage", VALUEFUNC(_wrap_okCFrontPanel_GetLastErrorMessage), -1);
|
|
27363
27388
|
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "AddCustomDevice", VALUEFUNC(_wrap_okCFrontPanel_AddCustomDevice), -1);
|
|
27364
27389
|
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "RemoveCustomDevice", VALUEFUNC(_wrap_okCFrontPanel_RemoveCustomDevice), -1);
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: OpalKelly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.3.
|
|
4
|
+
version: 5.3.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Opal Kelly Incorporated
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Provides access to FrontPanel devices.
|
|
14
14
|
email: tech+rubygems@opalkelly.com
|