File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed
Sources/OpenGraph_SPI/Data
Tests/OpenGraphCompatibilityTests/Data Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change 11//
22// OGUniqueID.c
3+ // OpenGraph_SPI
34//
4- //
5- // Created by Kyle on 2023/10/9.
6- //
5+ // Audited for iOS 18.0
6+ // Status: Complete
77
88#include "OGUniqueID.h"
99#include <stdatomic.h>
1010
1111OGUniqueID OGMakeUniqueID (void ) {
1212 // Initial value is 1
13- static atomic_llong counter = 1 ;
13+ static atomic_long counter = 1 ;
1414 return counter ++ ;
1515}
Original file line number Diff line number Diff line change 11//
22// OGMakeUniqueID.h
3- //
4- //
5- // Created by Kyle on 2023/10/9.
3+ // OpenGraph_SPI
64//
5+ // Audited for iOS 18.0
6+ // Status: Complete
77
88#ifndef OGMakeUniqueID_h
99#define OGMakeUniqueID_h
1010
1111#include "OGBase.h"
12- typedef long long OGUniqueID ;
12+ typedef long OGUniqueID ;
1313
1414OG_EXTERN_C_BEGIN
1515OG_EXPORT
Original file line number Diff line number Diff line change 11//
22// UniqueIDTests.swift
3- //
4- //
5- //
3+ // OpenGraphCompatibilityTests
64
75import Testing
86
You can’t perform that action at this time.
0 commit comments