mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
docs: fix broken link to vlib/net/socket.v
This commit is contained in:
parent
e83c39c81a
commit
41cc72e8e8
@ -3281,7 +3281,7 @@ To cast a `voidptr` to a V reference, use `user := &User(user_void_ptr)`.
|
|||||||
|
|
||||||
`voidptr` can also be dereferenced into a V struct through casting: `user := User(user_void_ptr)`.
|
`voidptr` can also be dereferenced into a V struct through casting: `user := User(user_void_ptr)`.
|
||||||
|
|
||||||
[socket.v has an example which calls C code from V](https://github.com/vlang/v/blob/master/vlib/net/socket.v) .
|
[an example of a module that calls C code from V](https://github.com/vlang/v/blob/master/vlib/v/tests/project_with_c_code/mod1/wrapper.v)
|
||||||
|
|
||||||
## Debugging generated C code
|
## Debugging generated C code
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user