diff options
| author | Simon Tatham <anakin@pobox.com> | 2017-09-05 20:09:56 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2017-09-05 20:55:11 +0100 |
| commit | b31ea221673a8f49a383a4a119d6edaabd39642d (patch) | |
| tree | fc455f492a68ca109f0eeaa9831adbca5ca2a9ef /html/samegame.html | |
| parent | 5e53ec5e36de0485467cb9553b8fa0bb580dc403 (diff) | |
| download | puzzles-b31ea221673a8f49a383a4a119d6edaabd39642d.zip puzzles-b31ea221673a8f49a383a4a119d6edaabd39642d.tar.gz puzzles-b31ea221673a8f49a383a4a119d6edaabd39642d.tar.bz2 puzzles-b31ea221673a8f49a383a4a119d6edaabd39642d.tar.xz | |
Factor some HTML dialog functions out of emcclib.
I'm about to want to call these from Javascript as well as from
Emscripten-compiled C, so I need versions of them that aren't wrapped
up in the Emscripten library object and also don't expect half their
parameters to be Emscripten-verse char pointers requiring calls to
Pointer_stringify.
The easiest way to achieve all of that is to turn the Emscripten-
ready versions of those functions in emcclib.js into tiny wrappers
around the JS versions, which do the pointer stringification and a
couple of other details like directing callbacks to the right C
functions.
Diffstat (limited to 'html/samegame.html')
0 files changed, 0 insertions, 0 deletions