Skip to content

Commit b66e191

Browse files
authored
Update README.md
1 parent 3f9f236 commit b66e191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ julia> f(1) # Gives the expected answer in regular julia
5454

5555
julia> dlopen(compile_shlib(f, (Int,), "./")) do lib
5656
fptr = dlsym(lib, "f")
57-
# Now use the compiled version where + is replaced with -
57+
# Now use the compiled version where g(x) = 2x is replaced with g(x) = x - 10
5858
@ccall $fptr(1::Int)::Int
5959
end
6060
-8

0 commit comments

Comments
 (0)