- Timestamp:
- 12/12/21 23:34:08 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/frams.py
r1166 r1167 341 341 global c_api # access global variable 342 342 if lib_path is not None and os.name == 'posix': 343 lib_name = os.path.join(lib_path, lib_name) # lib_path is always set ('.' when not specified). for the (currently unused) case of lib_path==Nonethe resulting lib_name is a bare filename without any path, which loads the library from a system-configured location.343 lib_name = os.path.join(lib_path, lib_name) # lib_path is always set ('.' when not specified). For the (currently unused) case of lib_path==None, the resulting lib_name is a bare filename without any path, which loads the library from a system-configured location. 344 344 try: 345 345 c_api = ctypes.CDLL(lib_name) # if accessing this module from multiple threads, they will all share a single c_api and access the same copy of the library and its data. If you want separate independent copies, read the comment at the top of this file on using the "multiprocessing" module.
Note: See TracChangeset
for help on using the changeset viewer.