Skip to content

Commit

Permalink
Cherry-pick ff9b348. rdar://127504731
Browse files Browse the repository at this point in the history
    Unreviewed, reverting 278275@main (c97a08d)
    https://bugs.webkit.org/show_bug.cgi?id=273705
    rdar://127504731

    Failed Xcode build

    Reverted change:

        [WIP] Introduce BigInt Public C API in JavaScriptCore
        https://bugs.webkit.org/show_bug.cgi?id=250511
        rdar://104194532
        278275@main (c97a08d)

    Canonical link: https://commits.webkit.org/278336@main
  • Loading branch information
hyjorc1 authored and Mohsin Qureshi committed May 3, 2024
1 parent 7f85aa7 commit b119253
Show file tree
Hide file tree
Showing 7 changed files with 117 additions and 1,396 deletions.
30 changes: 0 additions & 30 deletions Source/JavaScriptCore/API/JSBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,34 +152,4 @@ JS_EXPORT void JSGarbageCollect(JSContextRef ctx);
#endif
#endif

#if JSC_OBJC_API_ENABLED
#define JSC_CF_ENUM(enumName, ...) \
typedef CF_ENUM(uint32_t, enumName) { \
__VA_ARGS__ \
}
#else
#define JSC_CF_ENUM(enumName, ...) \
typedef enum { \
__VA_ARGS__ \
} enumName
#endif

#if JSC_OBJC_API_ENABLED
#define JSC_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin")
#define JSC_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end")
#else
#define JSC_ASSUME_NONNULL_BEGIN
#define JSC_ASSUME_NONNULL_END
#endif

#if JSC_OBJC_API_ENABLED
#define JSC_NULL_UNSPECIFIED _Null_unspecified
#define JSC_NULLABLE _Nullable
#define JSC_NONNULL _Nonnull
#else
#define JSC_NULL_UNSPECIFIED
#define JSC_NULLABLE
#define JSC_NONNULL
#endif

#endif /* JSBase_h */
Loading

0 comments on commit b119253

Please sign in to comment.