Sha256: 70ef809056ad4c411503d7cc84513b06e82d8b6c46f0135cb99299c7e772a09b
Contents?: true
Size: 499 Bytes
Versions: 50
Compression:
Stored size: 499 Bytes
Contents
#ifndef _ALLERGIES_H #define _ALLERGIES_H #include <stdbool.h> typedef enum { Allergen_Eggs = 0, Allergen_Peanuts, Allergen_Shellfish, Allergen_Strawberries, Allergen_Tomatoes, Allergen_Chocolate, Allergen_Pollen, Allergen_Cats, Allergen_Count } Allergen_t; typedef struct { int count; Allergen_t *allergens; } Allergen_List_t; bool is_allergic_to(Allergen_t allergen, unsigned int score); void get_allergens(unsigned int score, Allergen_List_t * list); #endif
Version data entries
50 entries across 50 versions & 1 rubygems