OpalKelly 5.3.4 → 5.3.6
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 +27 -8
- 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: f06a2ae67212fc906e6d71a6c3ec081d2b420e8617b34a30ca7870898d7e6f27
|
|
4
|
+
data.tar.gz: 12556adba05b8386b18b7a249b5d7c7e3edce3de4261c0309b585dce58c04230
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce913ea1da694ef8c30a35c7dafb14290783f8c0577c19e2ebb6e0e6832bfa177c36583a1afd561390a10b1c3404256a8225da79e725718ee295ccbd33dd956d
|
|
7
|
+
data.tar.gz: 63ee8db76112b73ff04d0761de3b00ad613c75e9ff1219f497bc85ad74378ffd626e2b5f2192b072479f859e1ab34d97c30c436d75eeb2ba82848309ff856b84
|
|
@@ -6171,16 +6171,10 @@ SWIGINTERN void OpalKellyLegacy_okCDeviceSettings_SetInt(OpalKellyLegacy::okCDev
|
|
|
6171
6171
|
ThrowOnError(self->SetInt(key, value));
|
|
6172
6172
|
}
|
|
6173
6173
|
SWIGINTERN std::vector< std::string,std::allocator< std::string > > OpalKellyLegacy_okCDeviceSettings_List(OpalKellyLegacy::okCDeviceSettings *self){
|
|
6174
|
-
|
|
6174
|
+
std::vector<std::string> names;
|
|
6175
6175
|
ThrowOnError(self->List(names));
|
|
6176
6176
|
|
|
6177
|
-
|
|
6178
|
-
const int count = names.GetCount();
|
|
6179
|
-
out.reserve(count);
|
|
6180
|
-
for (int n = 0; n < count; ++n)
|
|
6181
|
-
out.push_back(names.Get(n));
|
|
6182
|
-
|
|
6183
|
-
return out;
|
|
6177
|
+
return names;
|
|
6184
6178
|
}
|
|
6185
6179
|
SWIGINTERN void OpalKellyLegacy_okCDeviceSettings_Delete(OpalKellyLegacy::okCDeviceSettings *self,std::string const &key){
|
|
6186
6180
|
ThrowOnError(self->Delete(key));
|
|
@@ -21138,6 +21132,30 @@ fail:
|
|
|
21138
21132
|
}
|
|
21139
21133
|
|
|
21140
21134
|
|
|
21135
|
+
SWIGINTERN VALUE
|
|
21136
|
+
_wrap_okCFrontPanel_GetLastError(int argc, VALUE *argv, VALUE self) {
|
|
21137
|
+
OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
|
|
21138
|
+
void *argp1 = 0 ;
|
|
21139
|
+
int res1 = 0 ;
|
|
21140
|
+
OpalKellyLegacy::okCFrontPanel::ErrorCode result;
|
|
21141
|
+
VALUE vresult = Qnil;
|
|
21142
|
+
|
|
21143
|
+
if ((argc < 0) || (argc > 0)) {
|
|
21144
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
|
21145
|
+
}
|
|
21146
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_OpalKellyLegacy__okCFrontPanel, 0 | 0 );
|
|
21147
|
+
if (!SWIG_IsOK(res1)) {
|
|
21148
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "OpalKellyLegacy::okCFrontPanel const *","GetLastError", 1, self ));
|
|
21149
|
+
}
|
|
21150
|
+
arg1 = reinterpret_cast< OpalKellyLegacy::okCFrontPanel * >(argp1);
|
|
21151
|
+
result = (OpalKellyLegacy::okCFrontPanel::ErrorCode)((OpalKellyLegacy::okCFrontPanel const *)arg1)->GetLastError();
|
|
21152
|
+
vresult = SWIG_From_int(static_cast< int >(result));
|
|
21153
|
+
return vresult;
|
|
21154
|
+
fail:
|
|
21155
|
+
return Qnil;
|
|
21156
|
+
}
|
|
21157
|
+
|
|
21158
|
+
|
|
21141
21159
|
SWIGINTERN VALUE
|
|
21142
21160
|
_wrap_okCFrontPanel_GetLastErrorMessage(int argc, VALUE *argv, VALUE self) {
|
|
21143
21161
|
OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
|
|
@@ -27384,6 +27402,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
|
|
|
27384
27402
|
rb_define_const(SwigClassOkCFrontPanel.klass, "InvalidParameter", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::InvalidParameter)));
|
|
27385
27403
|
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "GetErrorString", VALUEFUNC(_wrap_okCFrontPanel_GetErrorString), -1);
|
|
27386
27404
|
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "GetErrorMessage", VALUEFUNC(_wrap_okCFrontPanel_GetErrorMessage), -1);
|
|
27405
|
+
rb_define_method(SwigClassOkCFrontPanel.klass, "GetLastError", VALUEFUNC(_wrap_okCFrontPanel_GetLastError), -1);
|
|
27387
27406
|
rb_define_method(SwigClassOkCFrontPanel.klass, "GetLastErrorMessage", VALUEFUNC(_wrap_okCFrontPanel_GetLastErrorMessage), -1);
|
|
27388
27407
|
rb_define_singleton_method(SwigClassOkCFrontPanel.klass, "AddCustomDevice", VALUEFUNC(_wrap_okCFrontPanel_AddCustomDevice), -1);
|
|
27389
27408
|
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.6
|
|
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-11-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Provides access to FrontPanel devices.
|
|
14
14
|
email: tech+rubygems@opalkelly.com
|