mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 12:22:12 +00:00
15 lines
309 B
C
15 lines
309 B
C
#ifndef ROSE_INCLUDED
|
|
#define ROSE_INCLUDED
|
|
|
|
typedef struct
|
|
{
|
|
char *name;
|
|
int sellIn;
|
|
int quality;
|
|
} Item;
|
|
|
|
extern Item* init_item(Item* item, const char *name, int sellIn, int quality);
|
|
extern void update_quality(Item items[], int size);
|
|
extern char* print_item(char* buffer, Item* item);
|
|
|
|
#endif |