gcc -shared -o libexample.so example.c
ccall((:function_name, "library_name"), return_type, (arg1_type, arg2_type,...), arg1, arg2, ...)
arg*_type
-> tuple specifying type of argument that a function takesarg*
-> actual function arguments
gcc -shared -o libexample.so example.c
ccall((:function_name, "library_name"), return_type, (arg1_type, arg2_type,...), arg1, arg2, ...)
arg*_type
-> tuple specifying type of argument that a function takesarg*
-> actual function arguments