Commit fffb7b79 authored by David Košenina's avatar David Košenina

python fix

parent 6cf46483
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.10
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_import_helper():
......@@ -30,17 +26,18 @@ elif _swig_python_version_info >= (2, 6, 0):
except ImportError:
import _scopefunapi
return _scopefunapi
if fp is not None:
try:
_mod = imp.load_module('_scopefunapi', fp, pathname, description)
finally:
try:
_mod = imp.load_module('_scopefunapi', fp, pathname, description)
finally:
if fp is not None:
fp.close()
return _mod
return _mod
_scopefunapi = swig_import_helper()
del swig_import_helper
else:
import _scopefunapi
del _swig_python_version_info
try:
_swig_property = property
except NameError:
......@@ -570,10 +567,10 @@ class SHardware2(_object):
__swig_getmethods__["digitalClkDivideL"] = _scopefunapi.SHardware2_digitalClkDivideL_get
if _newclass:
digitalClkDivideL = _swig_property(_scopefunapi.SHardware2_digitalClkDivideL_get, _scopefunapi.SHardware2_digitalClkDivideL_set)
__swig_setmethods__["reserved1"] = _scopefunapi.SHardware2_reserved1_set
__swig_getmethods__["reserved1"] = _scopefunapi.SHardware2_reserved1_get
__swig_setmethods__["average"] = _scopefunapi.SHardware2_average_set
__swig_getmethods__["average"] = _scopefunapi.SHardware2_average_get
if _newclass:
reserved1 = _swig_property(_scopefunapi.SHardware2_reserved1_get, _scopefunapi.SHardware2_reserved1_set)
average = _swig_property(_scopefunapi.SHardware2_average_get, _scopefunapi.SHardware2_average_set)
__swig_setmethods__["reserved2"] = _scopefunapi.SHardware2_reserved2_set
__swig_getmethods__["reserved2"] = _scopefunapi.SHardware2_reserved2_get
if _newclass:
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment