wowserhq / stormjs

StormLib for Javascript, powered by Emscripten
MIT License
14 stars 6 forks source link

Feature: get file name from open file #31

Closed fallenoak closed 5 years ago

fallenoak commented 5 years ago

Given an instance of File, we should be able to retrieve the file name by accessing a name getter.

Similar to EmBuf, we'll probably want to add a EmStr that's capable of receiving C-strings and marshaling them to JS.

The following StormLib APIs will need wrappers added to EmStormLib: