forked from emilevs/label_printer
9 lines
160 B
Python
9 lines
160 B
Python
import ctypes
|
|
|
|
# Load the Go shared library
|
|
mylib = ctypes.CDLL('./library_bridge.so')
|
|
|
|
# Call the Add function from Go
|
|
result = mylib.Add(3, 5)
|
|
print(result)
|
|
|