mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
This commit is contained in:
parent
5b272332fb
commit
c225e0415a
1 changed files with 4 additions and 0 deletions
|
@ -2,8 +2,12 @@ module iconv
|
|||
|
||||
// Module iconv provides functions convert between vstring(UTF8) to/from different encodings.
|
||||
|
||||
#flag openbsd -I/usr/local/include
|
||||
|
||||
#include <iconv.h>
|
||||
|
||||
#flag darwin -liconv
|
||||
#flag openbsd -L/usr/local/lib -liconv
|
||||
|
||||
fn C.iconv_open(tocode charptr, fromcode charptr) voidptr
|
||||
fn C.iconv_close(cd voidptr) int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue