summaryrefslogtreecommitdiff
path: root/ext/dl/doc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/doc')
-rw-r--r--ext/dl/doc/dl.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/doc/dl.txt b/ext/dl/doc/dl.txt
index 44499bba15..51da92c49d 100644
--- a/ext/dl/doc/dl.txt
+++ b/ext/dl/doc/dl.txt
@@ -174,7 +174,7 @@ the class Handle keeps a handle to opened library.
== PtrData class
-* ptr = PtrData.new(addr, [free = nil])
+* ptr = PtrData.new(addr, [size = 0, free = nil])
* returns the PtrData object representing the pointer which indicates the
address addr. GC frees the memory using the free function.