OpalKelly 5.3.0 → 5.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96246e18dea85c3870b816d6f2f4639091e6ecb2df685cc8f3676302551c19e8
4
- data.tar.gz: 9bc72be9f1cc2cd93e63c225ca5dfdfe3f86970fb95928fd695767fa8182f509
3
+ metadata.gz: a5a72e99ff8d69d4dd11e4b27cffe22a9ef6e8eab38f8d46d9d39cac71efb34e
4
+ data.tar.gz: 54c0658f1402c2d93ebc2f91f58439c6d5533f5425ce496a387694ecc23d4f82
5
5
  SHA512:
6
- metadata.gz: 8da4146bcf3289d00ce1ba3b3ec33d78f383c66064e75c4c3a39ca5e8fa5a47e86401f604cb1a01effa0f2739d3a330fdfdd53da2ec1b4cb97fdacd3980ec48b
7
- data.tar.gz: 2757200e1ba13c40eda61c6d7ffe41d27c39a701a5674610a4e62fc637e653e4e968f75024a5b117446bb10c32cdd02b04a7d17cc5712dacc8b45feab8a8300b
6
+ metadata.gz: 5633c232b6da1662f7d6d9bf6db07f50d58f575d327ab49a40ffad69d4eb79706f0658ef46dc657bb2944364c591f06827f2fc747a9612c974d300fcd6131179
7
+ data.tar.gz: 2f0990e7908bd6b49d5f78e4eb89a4fd1738b741fdbe66e8d6115f365e4f3c62b649dea8bee44ce4b768078db16b92f63776abef52742840a666c477897cb47b
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2020 Opal Kelly Incorporated
3
+ Copyright (c) 2024 Opal Kelly Incorporated
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -2206,14 +2206,14 @@ namespace Swig {
2206
2206
  #define SWIGTYPE_p_okTFlashLayout swig_types[30]
2207
2207
  #define SWIGTYPE_p_okTRegisterEntry swig_types[31]
2208
2208
  #define SWIGTYPE_p_okTTriggerEntry swig_types[32]
2209
- #define SWIGTYPE_p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t swig_types[33]
2210
- #define SWIGTYPE_p_p_void swig_types[34]
2211
- #define SWIGTYPE_p_size_type swig_types[35]
2212
- #define SWIGTYPE_p_std__allocatorT_OpalKelly__ScriptValue_t swig_types[36]
2213
- #define SWIGTYPE_p_std__allocatorT_okTDeviceSensor_t swig_types[37]
2214
- #define SWIGTYPE_p_std__allocatorT_okTRegisterEntry_t swig_types[38]
2215
- #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[39]
2216
- #define SWIGTYPE_p_std__runtime_error swig_types[40]
2209
+ #define SWIGTYPE_p_p_void swig_types[33]
2210
+ #define SWIGTYPE_p_size_type swig_types[34]
2211
+ #define SWIGTYPE_p_std__allocatorT_OpalKelly__ScriptValue_t swig_types[35]
2212
+ #define SWIGTYPE_p_std__allocatorT_okTDeviceSensor_t swig_types[36]
2213
+ #define SWIGTYPE_p_std__allocatorT_okTRegisterEntry_t swig_types[37]
2214
+ #define SWIGTYPE_p_std__allocatorT_std__string_t swig_types[38]
2215
+ #define SWIGTYPE_p_std__runtime_error swig_types[39]
2216
+ #define SWIGTYPE_p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t swig_types[40]
2217
2217
  #define SWIGTYPE_p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t swig_types[41]
2218
2218
  #define SWIGTYPE_p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t swig_types[42]
2219
2219
  #define SWIGTYPE_p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t swig_types[43]
@@ -5004,8 +5004,7 @@ SWIG_From_int (int value)
5004
5004
 
5005
5005
  #include <memory>
5006
5006
 
5007
- namespace okstd { using std::auto_ptr; }
5008
- #define OPALKELLY_UNIQUE_PTR_TEMPLATE okstd::auto_ptr
5007
+ #define OPALKELLY_UNIQUE_PTR_TEMPLATE std::unique_ptr
5009
5008
 
5010
5009
  #include "okFrontPanel.h"
5011
5010
 
@@ -6148,8 +6147,8 @@ SWIGINTERN std::vector< okTDeviceSensor,std::allocator< okTDeviceSensor > > Opal
6148
6147
 
6149
6148
  return out;
6150
6149
  }
6151
- SWIGINTERN okstd::auto_ptr< OpalKelly::ScriptEngine > OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(OpalKellyLegacy::okCFrontPanel *self){
6152
- okstd::auto_ptr<OpalKelly::ScriptEngine> e(new OpalKelly::ScriptEngine());
6150
+ SWIGINTERN std::unique_ptr< OpalKelly::ScriptEngine > OpalKellyLegacy_okCFrontPanel_CreateLuaScriptEngine(OpalKellyLegacy::okCFrontPanel *self){
6151
+ std::unique_ptr<OpalKelly::ScriptEngine> e(new OpalKelly::ScriptEngine());
6153
6152
  e->ConstructLua(*self);
6154
6153
  return e;
6155
6154
  }
@@ -6199,7 +6198,7 @@ SWIGINTERN std::vector< OpalKelly::ScriptValue,std::allocator< OpalKelly::Script
6199
6198
  retvals = self->RunScriptFunction(name, args);
6200
6199
 
6201
6200
  std::vector<OpalKelly::ScriptValue> cretvals(retvals.GetCount());
6202
- for (size_t n = 0; n < cretvals.size(); ++n) {
6201
+ for (int n = 0; n < static_cast<int>(cretvals.size()); ++n) {
6203
6202
  cretvals[n] = retvals.Get(n);
6204
6203
  }
6205
6204
  return cretvals;
@@ -23464,7 +23463,7 @@ _wrap_okCFrontPanel_CreateLuaScriptEngine(int argc, VALUE *argv, VALUE self) {
23464
23463
  OpalKellyLegacy::okCFrontPanel *arg1 = (OpalKellyLegacy::okCFrontPanel *) 0 ;
23465
23464
  void *argp1 = 0 ;
23466
23465
  int res1 = 0 ;
23467
- okstd::auto_ptr< OpalKelly::ScriptEngine > result;
23466
+ std::unique_ptr< OpalKelly::ScriptEngine > result;
23468
23467
  VALUE vresult = Qnil;
23469
23468
 
23470
23469
  if ((argc < 0) || (argc > 0)) {
@@ -26197,7 +26196,6 @@ static swig_type_info _swigt__p_okTFPGAResetProfile = {"_p_okTFPGAResetProfile",
26197
26196
  static swig_type_info _swigt__p_okTFlashLayout = {"_p_okTFlashLayout", "okTFlashLayout *", 0, 0, (void*)0, 0};
26198
26197
  static swig_type_info _swigt__p_okTRegisterEntry = {"_p_okTRegisterEntry", "std::vector< okTRegisterEntry >::value_type *|okTRegisterEntry *", 0, 0, (void*)0, 0};
26199
26198
  static swig_type_info _swigt__p_okTTriggerEntry = {"_p_okTTriggerEntry", "okTTriggerEntry *", 0, 0, (void*)0, 0};
26200
- static swig_type_info _swigt__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t = {"_p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t", "okstd::auto_ptr< OpalKellyLegacy::okCFrontPanel > *|OpalKelly::FrontPanelPtr *", 0, 0, (void*)0, 0};
26201
26199
  static swig_type_info _swigt__p_p_void = {"_p_p_void", "void **|VALUE *", 0, 0, (void*)0, 0};
26202
26200
  static swig_type_info _swigt__p_size_type = {"_p_size_type", "size_type *", 0, 0, (void*)0, 0};
26203
26201
  static swig_type_info _swigt__p_std__allocatorT_OpalKelly__ScriptValue_t = {"_p_std__allocatorT_OpalKelly__ScriptValue_t", "std::allocator< OpalKelly::ScriptValue > *|std::vector< OpalKelly::ScriptValue >::allocator_type *", 0, 0, (void*)0, 0};
@@ -26206,6 +26204,7 @@ static swig_type_info _swigt__p_std__allocatorT_okTRegisterEntry_t = {"_p_std__a
26206
26204
  static swig_type_info _swigt__p_std__allocatorT_std__string_t = {"_p_std__allocatorT_std__string_t", "std::vector< std::string >::allocator_type *|std::allocator< std::string > *", 0, 0, (void*)0, 0};
26207
26205
  static swig_type_info _swigt__p_std__runtime_error = {"_p_std__runtime_error", "std::runtime_error *", 0, 0, (void*)0, 0};
26208
26206
  static swig_type_info _swigt__p_OpalKelly__Impl__Error = {"_p_OpalKelly__Impl__Error", 0, 0, 0, 0, 0};
26207
+ static swig_type_info _swigt__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t = {"_p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t", "std::unique_ptr< OpalKellyLegacy::okCFrontPanel > *|OpalKelly::FrontPanelPtr *", 0, 0, (void*)0, 0};
26209
26208
  static swig_type_info _swigt__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t = {"_p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t", "std::vector< OpalKelly::ScriptValue > *|std::vector< OpalKelly::ScriptValue,std::allocator< OpalKelly::ScriptValue > > *", 0, 0, (void*)0, 0};
26210
26209
  static swig_type_info _swigt__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t = {"_p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t", "std::vector< okTDeviceSensor > *|std::vector< okTDeviceSensor,std::allocator< okTDeviceSensor > > *", 0, 0, (void*)0, 0};
26211
26210
  static swig_type_info _swigt__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t = {"_p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t", "std::vector< okTRegisterEntry > *|std::vector< okTRegisterEntry,std::allocator< okTRegisterEntry > > *|okTRegisterEntries *", 0, 0, (void*)0, 0};
@@ -26252,7 +26251,6 @@ static swig_type_info *swig_type_initial[] = {
26252
26251
  &_swigt__p_okTFlashLayout,
26253
26252
  &_swigt__p_okTRegisterEntry,
26254
26253
  &_swigt__p_okTTriggerEntry,
26255
- &_swigt__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26256
26254
  &_swigt__p_p_void,
26257
26255
  &_swigt__p_size_type,
26258
26256
  &_swigt__p_std__allocatorT_OpalKelly__ScriptValue_t,
@@ -26260,6 +26258,7 @@ static swig_type_info *swig_type_initial[] = {
26260
26258
  &_swigt__p_std__allocatorT_okTRegisterEntry_t,
26261
26259
  &_swigt__p_std__allocatorT_std__string_t,
26262
26260
  &_swigt__p_std__runtime_error,
26261
+ &_swigt__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26263
26262
  &_swigt__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t,
26264
26263
  &_swigt__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t,
26265
26264
  &_swigt__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t,
@@ -26305,7 +26304,6 @@ static swig_cast_info _swigc__p_okTFPGAResetProfile[] = { {&_swigt__p_okTFPGARe
26305
26304
  static swig_cast_info _swigc__p_okTFlashLayout[] = { {&_swigt__p_okTFlashLayout, 0, 0, 0},{0, 0, 0, 0}};
26306
26305
  static swig_cast_info _swigc__p_okTRegisterEntry[] = { {&_swigt__p_okTRegisterEntry, 0, 0, 0},{0, 0, 0, 0}};
26307
26306
  static swig_cast_info _swigc__p_okTTriggerEntry[] = { {&_swigt__p_okTTriggerEntry, 0, 0, 0},{0, 0, 0, 0}};
26308
- static swig_cast_info _swigc__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t[] = { {&_swigt__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t, 0, 0, 0},{0, 0, 0, 0}};
26309
26307
  static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}};
26310
26308
  static swig_cast_info _swigc__p_size_type[] = { {&_swigt__p_size_type, 0, 0, 0},{0, 0, 0, 0}};
26311
26309
  static swig_cast_info _swigc__p_std__allocatorT_OpalKelly__ScriptValue_t[] = { {&_swigt__p_std__allocatorT_OpalKelly__ScriptValue_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -26314,6 +26312,7 @@ static swig_cast_info _swigc__p_std__allocatorT_okTRegisterEntry_t[] = { {&_swi
26314
26312
  static swig_cast_info _swigc__p_std__allocatorT_std__string_t[] = { {&_swigt__p_std__allocatorT_std__string_t, 0, 0, 0},{0, 0, 0, 0}};
26315
26313
  static swig_cast_info _swigc__p_OpalKelly__Impl__Error[] = {{&_swigt__p_OpalKelly__Impl__Error, 0, 0, 0},{0, 0, 0, 0}};
26316
26314
  static swig_cast_info _swigc__p_std__runtime_error[] = { {&_swigt__p_std__runtime_error, 0, 0, 0}, {&_swigt__p_OpalKelly__Impl__Error, _p_OpalKelly__Impl__ErrorTo_p_std__runtime_error, 0, 0},{0, 0, 0, 0}};
26315
+ static swig_cast_info _swigc__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t[] = { {&_swigt__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t, 0, 0, 0},{0, 0, 0, 0}};
26317
26316
  static swig_cast_info _swigc__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t[] = { {&_swigt__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t, 0, 0, 0},{0, 0, 0, 0}};
26318
26317
  static swig_cast_info _swigc__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t[] = { {&_swigt__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t, 0, 0, 0},{0, 0, 0, 0}};
26319
26318
  static swig_cast_info _swigc__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t[] = { {&_swigt__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t, 0, 0, 0},{0, 0, 0, 0}};
@@ -26360,7 +26359,6 @@ static swig_cast_info *swig_cast_initial[] = {
26360
26359
  _swigc__p_okTFlashLayout,
26361
26360
  _swigc__p_okTRegisterEntry,
26362
26361
  _swigc__p_okTTriggerEntry,
26363
- _swigc__p_okstd__auto_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26364
26362
  _swigc__p_p_void,
26365
26363
  _swigc__p_size_type,
26366
26364
  _swigc__p_std__allocatorT_OpalKelly__ScriptValue_t,
@@ -26368,6 +26366,7 @@ static swig_cast_info *swig_cast_initial[] = {
26368
26366
  _swigc__p_std__allocatorT_okTRegisterEntry_t,
26369
26367
  _swigc__p_std__allocatorT_std__string_t,
26370
26368
  _swigc__p_std__runtime_error,
26369
+ _swigc__p_std__unique_ptrT_OpalKellyLegacy__okCFrontPanel_t,
26371
26370
  _swigc__p_std__vectorT_OpalKelly__ScriptValue_std__allocatorT_OpalKelly__ScriptValue_t_t,
26372
26371
  _swigc__p_std__vectorT_okTDeviceSensor_std__allocatorT_okTDeviceSensor_t_t,
26373
26372
  _swigc__p_std__vectorT_okTRegisterEntry_std__allocatorT_okTRegisterEntry_t_t,
@@ -26943,6 +26942,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
26943
26942
  rb_define_const(mOpalKelly, "OK_PRODUCT_XEM8320AU25P", SWIG_From_int(static_cast< int >((56))));
26944
26943
  rb_define_const(mOpalKelly, "OK_PRODUCT_XEM8310AU25P", SWIG_From_int(static_cast< int >((57))));
26945
26944
  rb_define_const(mOpalKelly, "OK_PRODUCT_FPX9301", SWIG_From_int(static_cast< int >((58))));
26945
+ rb_define_const(mOpalKelly, "OK_PRODUCT_XEM8370KU11P", SWIG_From_int(static_cast< int >((59))));
26946
26946
  rb_define_const(mOpalKelly, "OK_PRODUCT_OEM_START", SWIG_From_int(static_cast< int >(11000)));
26947
26947
  rb_define_const(mOpalKelly, "OkPRODUCT_UNKNOWN", SWIG_From_int(static_cast< int >(okPRODUCT_UNKNOWN)));
26948
26948
  rb_define_const(mOpalKelly, "OkPRODUCT_XEM3001V1", SWIG_From_int(static_cast< int >(okPRODUCT_XEM3001V1)));
@@ -27003,6 +27003,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
27003
27003
  rb_define_const(mOpalKelly, "OkPRODUCT_XEM8320AU25P", SWIG_From_int(static_cast< int >(okPRODUCT_XEM8320AU25P)));
27004
27004
  rb_define_const(mOpalKelly, "OkPRODUCT_XEM8310AU25P", SWIG_From_int(static_cast< int >(okPRODUCT_XEM8310AU25P)));
27005
27005
  rb_define_const(mOpalKelly, "OkPRODUCT_FPX9301", SWIG_From_int(static_cast< int >(okPRODUCT_FPX9301)));
27006
+ rb_define_const(mOpalKelly, "OkPRODUCT_XEM8370KU11P", SWIG_From_int(static_cast< int >(okPRODUCT_XEM8370KU11P)));
27006
27007
  rb_define_const(mOpalKelly, "OkPRODUCT_OEM_START", SWIG_From_int(static_cast< int >(okPRODUCT_OEM_START)));
27007
27008
  rb_define_const(mOpalKelly, "OK_FPGACONFIGURATIONMETHOD_NVRAM", SWIG_From_int(static_cast< int >((0))));
27008
27009
  rb_define_const(mOpalKelly, "OK_FPGACONFIGURATIONMETHOD_JTAG", SWIG_From_int(static_cast< int >((1))));
@@ -27332,6 +27333,7 @@ SWIGEXPORT void Init_OpalKelly(void) {
27332
27333
  rb_define_const(SwigClassOkCFrontPanel.klass, "BrdXEM8320AU25P", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdXEM8320AU25P)));
27333
27334
  rb_define_const(SwigClassOkCFrontPanel.klass, "BrdXEM8310AU25P", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdXEM8310AU25P)));
27334
27335
  rb_define_const(SwigClassOkCFrontPanel.klass, "BrdFPX9301", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdFPX9301)));
27336
+ rb_define_const(SwigClassOkCFrontPanel.klass, "BrdXEM8370KU11P", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::brdXEM8370KU11P)));
27335
27337
  rb_define_const(SwigClassOkCFrontPanel.klass, "NoError", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::NoError)));
27336
27338
  rb_define_const(SwigClassOkCFrontPanel.klass, "Failed", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::Failed)));
27337
27339
  rb_define_const(SwigClassOkCFrontPanel.klass, "Timeout", SWIG_From_int(static_cast< int >(OpalKellyLegacy::okCFrontPanel::Timeout)));
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.0
4
+ version: 5.3.1
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: 2023-06-13 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Provides access to FrontPanel devices.
14
14
  email: tech+rubygems@opalkelly.com