Skip to content

Instantly share code, notes, and snippets.

@Kudo
Created November 5, 2018 16:00
Show Gist options
  • Save Kudo/bcfacc765fe303b01216017ad402c839 to your computer and use it in GitHub Desktop.
Save Kudo/bcfacc765fe303b01216017ad402c839 to your computer and use it in GitHub Desktop.
CxxModule exports constants
auto HelloCxxModule::getConstants() -> std::map<std::string, folly::dynamic> {
return {
{"one", 1}, {"two", 2}, {"animal", "fox"},
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment