Skip to content

Commit 80ba800

Browse files
committed
Implemented a fix for #13
1 parent 6fc1770 commit 80ba800

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Isomorphic library to handle passing high-level data structures between Assembly
2626
- [Motivation](#motivation)
2727
- [Performance](#performance)
2828
- [Projects using as-bind](#projects-using-as-bind)
29+
- [FAQ and Common Issues](#faq-and-common-issues)
2930
- [Contributing](#contributing)
3031
- [License](#license)
3132

@@ -103,6 +104,8 @@ const asyncTask = async () => {
103104
asyncTask();
104105
```
105106

107+
*Did the quick start not work for you, or you are noticing some weird behavior? Please see the [FAQ and Common Issues](#faq-and-common-issues)*
108+
106109
## Additional Examples
107110

108111
## Passing a high-level type to a an exported function, and returning a high-level type
@@ -271,6 +274,14 @@ In the future, these types of high-level data passing tools will not be needed f
271274

272275
_If you're project is using as-bind, and you would like to be featured here. Please open a README with links to your project, and if appropriate, explaining how as-bind is being used._ 😊
273276

277+
## FAQ and Common Issues
278+
279+
> I am calling my exports, but it is not returning the types that I am returning? It seems to be returning pointers?
280+
281+
This is probably because you are not adding the as-bind entry file. Please see the [Quick Start](#quick-start) on how to compile your AssemblyScript module with this entry file. If this still does not work, please take a look at the [Supported Types](#supported-types) to ensure what type you are trying to pass will work.
282+
283+
*Didn't find a solution to your problem? Feel free to open an issue!*
284+
274285
## Contributing
275286

276287
Contributions are definitely welcome! Feel free to open a PR for small fixes such as typos and things. Larger fixes, or new features should start out as an issue for discussion, in which then a PR should be made. 🥳

0 commit comments

Comments
 (0)