summaryrefslogtreecommitdiffstats
path: root/buf.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-04-30 08:53:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-04-30 08:53:45 -0700
commit310bc8183d5b3d794618ace3122f3aa2f16dc47a (patch)
tree3c1648fc5542c6bec72371c79061d20bb85c2ad8 /buf.c
parentdde97c714b4303f1fa715dae9adb1978afe8c8ef (diff)
downloadtxr-310bc8183d5b3d794618ace3122f3aa2f16dc47a.tar.gz
txr-310bc8183d5b3d794618ace3122f3aa2f16dc47a.tar.bz2
txr-310bc8183d5b3d794618ace3122f3aa2f16dc47a.zip
ffi: put function for str-d needed.
* ffi.c (ffi_str_d_put): New static function. (ffi_type_compile): Use ffi_str_d_put for str-d instead of ffi_str_put. The difference is that ffi_str_d_put doesn't place the pointer into the rtvec[] array. Doing so is wrong because this ttype of string has no reserved place in that array, and no registered in handler to free it (which would be wrong).
Diffstat (limited to 'buf.c')
0 files changed, 0 insertions, 0 deletions