Rename inflatelib_alloc, inflatelib_free and inflatelib_stream to inflatelib_alloc_t, inflatelib_free_t and inflatelib_stream_t

Aperta
#37 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
52/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
api

Direzione di ricerca

Start by locating the declarations and uses of inflatelib_alloc, inflatelib_free, and inflatelib_stream in the C API, then check how the API is documented. Rename the three types consistently with the proposed _t suffixes; done when declarations, uses, and documentation agree and the project builds.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When I was documenting the C API, I noticed that it might be clearer for users when the type definitions would contain an "_t", so:

  • inflatelib_alloc --> inflatelib_alloc_t
  • inflatelib_free --> inflatelib_free_t
  • inflatelib_stream --> inflatelib_stream_t

Does that make sense to you, or am I going overboard here?

Lingua principale
C++
Stelle
12
Fork
5
Merge medio
4g 5h
PR unite (30g)
6

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoft/inflatelib

Tutte le issue di microsoft/inflatelib

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.