comparison Platforms/Wasm/default-library.js @ 236:f73d722d98c8 am

renamed folder
author am@osimis.io
date Tue, 19 Jun 2018 16:06:32 +0200
parents Platforms/WebAssembly/default-library.js@5027cb2feb51
children 2038d76bf13f
comparison
equal deleted inserted replaced
235:ce4405d98b92 236:f73d722d98c8
1 // this file contains the JS method you want to expose to C++ code
2
3 mergeInto(LibraryManager.library, {
4 ScheduleWebViewportRedrawFromCpp: function(cppViewportHandle) {
5 ScheduleWebViewportRedraw(cppViewportHandle);
6 },
7 CreateWasmViewportFromCpp: function(htmlCanvasId) {
8 return CreateWasmViewport(htmlCanvasId);
9 }
10 });
11