• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// This externs format needs to be a little different due to the fact we don't rename
2// Module to CanvasKit in quite the same way.
3Module.sayHello = function() {};
4Module.publicFunction = function() {};
5Module.publicExtension = function() {};
6Module.withObject = function() {};
7Module._privateFunction = function() {};
8Module._privateExtension = function() {};
9Module._withObject = function() {};
10
11Module.Something =  {
12  getName: function() {},
13  prototype: {
14    setName: function() {},
15  },
16  _setName: function() {},
17};
18
19Module.CompoundObj = {
20  alpha: 0,
21  beta: "",
22  gamma: 0,
23};
24
25// Things provided by Emscripten that we don't want minified.
26Module.onRuntimeInitialized = function() {};
27Module._malloc = function() {};
28Module._free = function() {};