Skip to content

Instantly share code, notes, and snippets.

@yuri91
Last active May 15, 2020 09:43
Show Gist options
  • Save yuri91/56cbfd8d7a012c67ac941c80b9406c9b to your computer and use it in GitHub Desktop.
Save yuri91/56cbfd8d7a012c67ac941c80b9406c9b to your computer and use it in GitHub Desktop.
Create new client objects
#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