hunk.code_window:       [self replaceCharactersInRange:(NSRange){0, self.length}
                   withAttributedString:originalAttributedString];
         [self scaleFontSizeWithRatio:lastRatioWhichFits
                      minimumFontSize:minimumFontSize
                      maximumFontSize:maximumFontSize];
         return;
  
hunk.labels: keep keep keep replace keep keep keep
hunk.after_edit:       [self abi26_0_0_rct_scaleFontSizeWithRatio:lastRatioWhichFits
  
hunk.file_path: ios/versioned-react-native/ABI26_0_0/Libraries/Text/Text/ABI26_0_0NSTextStorage+FontScaling.m
hunk.type: replace
file: // Copyright 2004-present Facebook. All Rights Reserved.
  
  #pragma once
  
  #include <functional>
  #include <memory>
  #include <string>
  
  #include <cxxReactABI22_0_0/ABI22_0_0JSExecutor.h>
  #include <cxxReactABI22_0_0/ABI22_0_0MessageQueueThread.h>
  #include <ABI22_0_0jschelpers/ABI22_0_0JavaScriptCore.h>
  
  #ifndef RN_EXPORT
  #define RN_EXPORT __attribute__((visibility("default")))
  #endif
  
  namespace facebook {
  namespace ReactABI22_0_0 {
  
  namespace ReactABI22_0_0Marker {
  
  enum ReactABI22_0_0MarkerId {
    NATIVE_REQUIRE_START,
    NATIVE_REQUIRE_STOP,
    RUN_JS_BUNDLE_START,
    RUN_JS_BUNDLE_STOP,
    CREATE_REACT_CONTEXT_STOP,
    JS_BUNDLE_STRING_CONVERT_START,
    JS_BUNDLE_STRING_CONVERT_STOP,
    NATIVE_MODULE_SETUP_START,
    NATIVE_MODULE_SETUP_STOP,
  };
  
  using LogTaggedMarker = std::function<void(const ReactABI22_0_0MarkerId, const char* tag)>;
  extern RN_EXPORT LogTaggedMarker logTaggedMarker;
  
  extern void logMarker(const ReactABI22_0_0MarkerId markerId);
  
  }
  
  namespace JSCNativeHooks {
  
  using Hook = JSValueRef(*)(
    JSContextRef ctx,
    JSObjectRef function,
    JSObjectRef thisObject,
    size_t argumentCount,
    const JSValueRef arguments[],
    JSValueRef *exception);
  extern RN_EXPORT Hook loggingHook;
  extern RN_EXPORT Hook nowHook;
  
  using ConfigurationHook = std::function<void(JSGlobalContextRef)>;
  extern RN_EXPORT ConfigurationHook installPerfHooks;
  
  }
  
  } }
  