Last active
May 15, 2020 09:43
-
-
Save yuri91/56cbfd8d7a012c67ac941c80b9406c9b to your computer and use it in GitHub Desktop.
Create new client objects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cheerp/client.h> | |
[[cheerp::wasm]] | |
[[cheerp::jsexport]] | |
client::Date* constructAndReturn() | |
{ | |
client::Date* d = new client::Date(2020, 5, 15); | |
return d; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment