Cleanup cxxreact BUCK file

Reviewed By: mzlee

Differential Revision: D5020563

fbshipit-source-id: 286a2d1c44623b5b9fd923ef8684d263500791b3
This commit is contained in:
Pieter De Baets
2017-05-11 05:04:02 -07:00
committed by Facebook Github Bot
parent 8b53a2b29b
commit 19e6557d2e
7 changed files with 72 additions and 115 deletions
+2 -3
View File
@@ -133,9 +133,8 @@ void SampleCxxModule::load(folly::dynamic args, Callback cb) {
}}}
// By convention, the function name should be the same as the class
// name.
extern "C" facebook::xplat::module::CxxModule *SampleCxxModule() {
// By convention, the function name should be the same as the class name.
facebook::xplat::module::CxxModule *SampleCxxModule() {
return new facebook::xplat::samples::SampleCxxModule(
folly::make_unique<facebook::xplat::samples::Sample>());
}