# This file is generated by objective.metadata
#
# Last update: Sat Jul  1 14:04:16 2023
#
# flake8: noqa

import objc, sys
from typing import NewType

if sys.maxsize > 2**32:

    def sel32or64(a, b):
        return b

else:

    def sel32or64(a, b):
        return a


if objc.arch == "arm64":

    def selAorI(a, b):
        return a

else:

    def selAorI(a, b):
        return b


misc = {}
constants = """$$"""
enums = """$OSLogEntryLogLevelDebug@1$OSLogEntryLogLevelError@4$OSLogEntryLogLevelFault@5$OSLogEntryLogLevelInfo@2$OSLogEntryLogLevelNotice@3$OSLogEntryLogLevelUndefined@0$OSLogEntrySignpostTypeEvent@3$OSLogEntrySignpostTypeIntervalBegin@1$OSLogEntrySignpostTypeIntervalEnd@2$OSLogEntrySignpostTypeUndefined@0$OSLogEntryStoreCategoryLongTerm1@4$OSLogEntryStoreCategoryLongTerm14@7$OSLogEntryStoreCategoryLongTerm3@5$OSLogEntryStoreCategoryLongTerm30@8$OSLogEntryStoreCategoryLongTerm7@6$OSLogEntryStoreCategoryLongTermAuto@3$OSLogEntryStoreCategoryMetadata@1$OSLogEntryStoreCategoryShortTerm@2$OSLogEntryStoreCategoryUndefined@0$OSLogEnumeratorReverse@1$OSLogMessageComponentArgumentCategoryData@1$OSLogMessageComponentArgumentCategoryDouble@2$OSLogMessageComponentArgumentCategoryInt64@3$OSLogMessageComponentArgumentCategoryString@4$OSLogMessageComponentArgumentCategoryUInt64@5$OSLogMessageComponentArgumentCategoryUndefined@0$OSLogStoreCurrentProcessIdentifier@1$OSLogStoreSystem@0$"""
misc.update(
    {
        "OSLogMessageComponentArgumentCategory": NewType(
            "OSLogMessageComponentArgumentCategory", int
        ),
        "OSLogEnumeratorOptions": NewType("OSLogEnumeratorOptions", int),
        "OSLogEntrySignpostType": NewType("OSLogEntrySignpostType", int),
        "OSLogStoreScope": NewType("OSLogStoreScope", int),
        "OSLogEntryStoreCategory": NewType("OSLogEntryStoreCategory", int),
        "OSLogEntryLogLevel": NewType("OSLogEntryLogLevel", int),
    }
)
misc.update({})
misc.update({})
r = objc.registerMetaDataForSelector
objc._updatingMetadata(True)
try:
    r(b"NSObject", b"activityIdentifier", {"required": True, "retval": {"type": b"Q"}})
    r(b"NSObject", b"category", {"required": True, "retval": {"type": b"@"}})
    r(b"NSObject", b"components", {"required": True, "retval": {"type": b"@"}})
    r(b"NSObject", b"formatString", {"required": True, "retval": {"type": b"@"}})
    r(b"NSObject", b"process", {"required": True, "retval": {"type": b"@"}})
    r(b"NSObject", b"processIdentifier", {"required": True, "retval": {"type": b"i"}})
    r(b"NSObject", b"sender", {"required": True, "retval": {"type": b"@"}})
    r(b"NSObject", b"subsystem", {"required": True, "retval": {"type": b"@"}})
    r(b"NSObject", b"threadIdentifier", {"required": True, "retval": {"type": b"Q"}})
    r(
        b"OSLogStore",
        b"entriesEnumeratorAndReturnError:",
        {"arguments": {2: {"type_modifier": b"o"}}},
    )
    r(
        b"OSLogStore",
        b"entriesEnumeratorWithOptions:position:predicate:error:",
        {"arguments": {5: {"type_modifier": b"o"}}},
    )
    r(
        b"OSLogStore",
        b"localStoreAndReturnError:",
        {"arguments": {2: {"type_modifier": b"o"}}},
    )
    r(
        b"OSLogStore",
        b"storeWithScope:error:",
        {"arguments": {3: {"type_modifier": b"o"}}},
    )
    r(
        b"OSLogStore",
        b"storeWithURL:error:",
        {"arguments": {3: {"type_modifier": b"o"}}},
    )
finally:
    objc._updatingMetadata(False)
expressions = {}

# END OF FILE
