AliSoftware / AliSoftware/OHPDFImage

Why size_t ?

Offen
#9 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Objective-C
Sterne
56
Forks
3
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I don't understand why you chose to use `size_t` in your framework and not more common type, such as `NSUInteger`.

Maybe the number of bytes is not the same?

Anyway, isn't it a bad choice? Indeed, your library is _de facto_ a wrapper for `CFPDFDocumentRef` and should, IMHO, use common types.

For instance, when I see `size_t`, I don't understand. `NSUInteger` is much more Objective-C-friendly.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.