mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Cleanup cxxreact BUCK file
Reviewed By: mzlee Differential Revision: D5020563 fbshipit-source-id: 286a2d1c44623b5b9fd923ef8684d263500791b3
This commit is contained in:
committed by
Facebook Github Bot
parent
8b53a2b29b
commit
19e6557d2e
@@ -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>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user