1
0
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:
Delyan Angelov 2021-02-06 08:12:25 +02:00
parent e83c39c81a
commit 41cc72e8e8
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -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