Fix comment on foreign allocate function.

Fix #453.
This commit is contained in:
Bob Nystrom
2017-10-12 06:37:49 -07:00
parent 2021e086bf
commit 91853a7fa9
+1 -1
View File
@@ -104,7 +104,7 @@ typedef struct
// The callback invoked when the foreign object is created.
//
// This must be provided. Inside the body of this, it must call
// [wrenAllocateForeign] exactly once.
// [wrenSetSlotNewForeign()] exactly once.
WrenForeignMethodFn allocate;
// The callback invoked when the garbage collector is about to collect a