missing language specifier and variable declaration

This commit is contained in:
minirop
2017-10-19 21:17:40 +02:00
parent f8076c2c1c
commit 6444a5f5db

View File

@ -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);
}