summaryrefslogtreecommitdiffstats
path: root/tl.vim
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-04-29 14:32:32 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-04-29 14:32:32 -0700
commit1ca136f653d66cd271a33c37ea17cf836f7197b4 (patch)
tree0477fb7c9e5604a52baea117cb2b1b2a1810e9a3 /tl.vim
parent17d4160a2e6dcb07d2d7d09f8682ec120034a084 (diff)
downloadtxr-1ca136f653d66cd271a33c37ea17cf836f7197b4.tar.gz
txr-1ca136f653d66cd271a33c37ea17cf836f7197b4.tar.bz2
txr-1ca136f653d66cd271a33c37ea17cf836f7197b4.zip
ffi: conv between strings and char/wchar_t arrays.
* ffi.c (struct txr_ffi_type): New bitfield members char_conv, wchar_conv. (ffi_array_put): Check char_conv and wchar_conv flags and perform conversion to string, watching out for the presence or absence of null termination. (ffi_type_compile): When compiling array, check for the str and wstr element type, and set the flags. * utf8.c (ut8f_dup_from_buf): New function. * utf8.c (ut8f_dup_from_buf): Declared.
Diffstat (limited to 'tl.vim')
0 files changed, 0 insertions, 0 deletions