From a6f2f6ab655f6a8027cfe5a31a4022b55b3417cc Mon Sep 17 00:00:00 2001 From: Muhammad Saleh Solahudin <20611989+ZihxS@users.noreply.github.com> Date: Fri, 19 Jan 2024 22:38:45 +0700 Subject: [PATCH] docs: fix link for an example of a module that calls C code from V (#20586) --- doc/docs.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/docs.md b/doc/docs.md index b39d6ed7d4..cec12464de 100644 --- a/doc/docs.md +++ b/doc/docs.md @@ -6962,7 +6962,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)`. -[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) +[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.c.v) ### C Declarations