mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-22 13:53:02 +05:30
14 lines
291 B
Python
14 lines
291 B
Python
import sys, ctypes
|
|
|
|
sharedlib = './lib3ddevil1.so'
|
|
libc = ctypes.cdll.LoadLibrary(sharedlib)
|
|
if not libc:
|
|
print("Couldn't load %s" % sharedlib)
|
|
sys.exit()
|
|
|
|
# Observe how many times the .so is loaded.
|
|
print("\nlib3ddevil1 loaded.")
|
|
|
|
# Don't need these anymore
|
|
del sys, sharedlib
|