aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.md b/README.md
index 582cd4d..84b0066 100644
--- a/README.md
+++ b/README.md
@@ -75,3 +75,16 @@ thread by using a web worker.
75## 5. Callback functions 75## 5. Callback functions
76 76
77In `05_callback` the example is extended to include a callback function. 77In `05_callback` the example is extended to include a callback function.
78
79## 6. Storage
80
81In `06_storage` we show how to use Emscripten's
82[file system API](https://emscripten.org/docs/api_reference/Filesystem-API.html)
83using as backend the
84[indexed DB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API).
85This example only works in the browser, as other runtimes (such as
86Node.js) require different backends.
87
88In this example we make use for the first time of the `--pre-js` option of
89the compiler to include custom JavaScript code that is run when our module
90loads. Moreover, the C code is split into multiple files for convenience.

Generated with cgit - Back to sebastiano.tronto.net