diff options
author | Benoit Daloze <eregontp@gmail.com> | 2020-07-11 15:49:24 +0200 |
---|---|---|
committer | Benoit Daloze <eregontp@gmail.com> | 2020-07-11 15:49:24 +0200 |
commit | 694e97568a0d3bb8f697f5e91ac5464bde707934 (patch) | |
tree | f49bde41ae6f1be4193d1388ad69a016eb356e17 | |
parent | 8fd92407a267c917669c349e06485ec336e95bac (diff) | |
download | ffi-694e97568a0d3bb8f697f5e91ac5464bde707934.tar.gz |
Improve #put_string documentation
-rw-r--r-- | ext/ffi_c/AbstractMemory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ffi_c/AbstractMemory.c b/ext/ffi_c/AbstractMemory.c index f1d70e5..fa76afa 100644 --- a/ext/ffi_c/AbstractMemory.c +++ b/ext/ffi_c/AbstractMemory.c @@ -502,7 +502,7 @@ memory_read_array_of_string(int argc, VALUE* argv, VALUE self) * @raise {SecurityError} when writing unsafe string to memory * @raise {IndexError} if +offset+ is too great * @raise {NullPointerError} if memory not initialized - * Put a string in memory. + * Put a string in memory. Writes a final \0 byte. */ static VALUE memory_put_string(VALUE self, VALUE offset, VALUE str) |