hunk.code_window:       target.native_target.build_configurations.each do |config|
           config.build_settings['OTHER_CFLAGS'] = ['-DkNeverRequested=ReactABI11_0_0kNeverRequested','-DkNeverProgressed=ReactABI11_0_0kNeverProgressed','-DZINDEX_DEFAULT=ReactABI11_0_0ZINDEX_DEFAULT','-DZINDEX_STICKY_HEADER=ReactABI11_0_0ZINDEX_STICKY_HEADER','-DgCurrentGenerationCount=ReactABI11_0_0gCurrentGenerationCount','-DgPrintSkips=ReactABI11_0_0gPrintSkips','-DgPrintChanges=ReactABI11_0_0gPrintChanges','-DlayoutNodeInternal=ReactABI11_0_0layoutNodeInternal','-DgDepth=ReactABI11_0_0gDepth','-DgPrintTree=ReactABI11_0_0gPrintTree','-DisUndefined=ReactABI11_0_0isUndefined','-DSINGLE_FRAME_INTERVAL=ReactABI11_0_0SINGLE_FRAME_INTERVAL','-DkSMCalloutViewRepositionDelayForUIScrollView=ReactABI11_0_0kSMCalloutViewRepositionDelayForUIScrollView']
           config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
  
hunk.labels: keep replace keep
hunk.after_edit:         config.build_settings['OTHER_CFLAGS'] = ['-DkNeverRequested=ReactABI12_0_0kNeverRequested','-DkNeverProgressed=ReactABI12_0_0kNeverProgressed','-DZINDEX_DEFAULT=ReactABI12_0_0ZINDEX_DEFAULT','-DZINDEX_STICKY_HEADER=ReactABI12_0_0ZINDEX_STICKY_HEADER','-DgCurrentGenerationCount=ReactABI12_0_0gCurrentGenerationCount','-DgPrintSkips=ReactABI12_0_0gPrintSkips','-DgPrintChanges=ReactABI12_0_0gPrintChanges','-DlayoutNodeInternal=ReactABI12_0_0layoutNodeInternal','-DgDepth=ReactABI12_0_0gDepth','-DgPrintTree=ReactABI12_0_0gPrintTree','-DisUndefined=ReactABI12_0_0isUndefined','-DSINGLE_FRAME_INTERVAL=ReactABI12_0_0SINGLE_FRAME_INTERVAL','-DkSMCalloutViewRepositionDelayForUIScrollView=ReactABI12_0_0kSMCalloutViewRepositionDelayForUIScrollView']
  
hunk.file_path: exponent-view-template/ios/Podfile
hunk.type: replace
file: /*
   * Copyright (c) 2015-present, Facebook, Inc.
   * All rights reserved.
   *
   * This source code is licensed under the BSD-style license found in the
   * LICENSE file in the root directory of this source tree. An additional grant
   * of patent rights can be found in the PATENTS file in the same directory.
   */
  
  #pragma once
  
  #include <memory>
  #include <type_traits>
  
  #include <jni.h>
  
  #include <fb/Environment.h>
  
  namespace facebook {
  namespace jni {
  
  template<class T>
  struct LocalReferenceDeleter {
    static_assert(std::is_convertible<T, jobject>::value,
      "LocalReferenceDeleter<T> instantiated with type that is not convertible to jobject");
    void operator()(T localReference) {
      if (localReference != nullptr) {
        Environment::current()->DeleteLocalRef(localReference);
      }
    } 
   };
  
  template<class T>
  using LocalReference =
    std::unique_ptr<typename std::remove_pointer<T>::type, LocalReferenceDeleter<T>>;
  
  } }
  