Skip to content

Commit 29e1279

Browse files
committed
Update imports and DSS_Start
1 parent 24f803b commit 29e1279

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

dss_python_backend/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
import os
1010

1111
if os.environ.get('DSS_EXTENSIONS_DEBUG', '') != '1':
12-
from ._dss_capi import ffi, lib
12+
from ._altdss_capi import ffi, lib
1313
else:
1414
import warnings
1515
warnings.warn('Environment variable DSS_EXTENSIONS_DEBUG=1 is set: loading the debug version of the DSS C-API library')
16-
from ._dss_capid import ffi, lib
16+
from ._altdss_capid import ffi, lib
1717

1818
# Ensure this is called at least once. This was moved from
1919
# CffiApiUtil so we call it as soon as the DLL/so is loaded.
20-
lib.DSS_Start(0)
20+
lib.ctx_DSS_Start(ffi.NULL, 0)
2121

2222
__version__ = '0.14.6a1'
2323
__all__ = ['ffi', 'lib']

0 commit comments

Comments
 (0)