mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
5 lines
101 B
Python
5 lines
101 B
Python
![]() |
from ctypes import *
|
||
|
so_file="./test.so"
|
||
|
my_functions = CDLL(so_file)
|
||
|
print(my_functions.square(10))
|