forked from Mirror/wren
Merge pull request #474 from minirop/typo-in-doc
missing language specifier and variable declaration
This commit is contained in:
@ -347,8 +347,10 @@ they already closed. If not, we call `fwrite()` to write to the file.
|
||||
|
||||
The other method is `close()` to let them explicitly close the file:
|
||||
|
||||
:::c
|
||||
void fileClose(WrenVM* vm)
|
||||
{
|
||||
FILE** file = (FILE**)wrenGetSlotForeign(vm, 0);
|
||||
closeFile(file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user