mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-11 22:28:45 +01:00
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