Package deltavsoft :: Module util |
[frames] | no frames]

# Source Code for Module deltavsoft.util

     1
     2  # Currently just a copy of what swig generates.
     3 -def LoadRCFProtoNativeDll():
     4      from os.path import dirname
     5      import imp
     6      fp = None
     7      try:
     8          fp, pathname, description = imp.find_module('_rcfproto', [dirname(__file__)])
     9      except ImportError:
    10          import _rcfproto
    11          return _rcfproto
    12      if fp is not None:
    13          try:
    14              _mod = imp.load_module('_rcfproto', fp, pathname, description)
    15          finally:
    16              fp.close()
    17          return _mod
    18