RCTCxxMethod.h 447 B

1234567891011121314151617
  1. /*
  2. * Copyright (c) Facebook, Inc. and its affiliates.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. #import <Foundation/Foundation.h>
  8. #import <React/RCTBridgeMethod.h>
  9. #import <cxxreact/CxxModule.h>
  10. @interface RCTCxxMethod : NSObject <RCTBridgeMethod>
  11. - (instancetype)initWithCxxMethod:(const facebook::xplat::module::CxxModule::Method &)cxxMethod;
  12. @end