def init_ool():
 global ffi_ool, cffi_sin_ool, cffi_cos_ool, cffi_foo, vsSin, vdSin
 global vector_real, vector_imag
 if (ffi_ool is None):
  (ffi_ool, mod) = load_ool_module()
  cffi_sin_ool = mod.lib.sin
  cffi_cos_ool = mod.lib.cos
  cffi_foo = mod.lib.foo
  vsSin = mod.lib.vsSin
  vdSin = mod.lib.vdSin
  vector_real = mod.lib.vector_real
  vector_imag = mod.lib.vector_imag
  del mod

def init_ool ( ) : global ffi_ool , cffi_sin_ool , cffi_cos_ool , cffi_foo , vsSin , vdSin global vector_real , vector_imag if ( ffi_ool is None ) : ( ffi_ool , mod ) = load_ool_module ( ) cffi_sin_ool = mod . lib . sin cffi_cos_ool = mod . lib . cos cffi_foo = mod . lib . foo vsSin = mod . lib . vsSin vdSin = mod . lib . vdSin vector_real = mod . lib . vector_real vector_imag = mod . lib . vector_imag del mod
same as init() for ool mode .