cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

areas.h (395B)


      1// This is free and unencumbered software released into the public domain.
      2// For more information, please refer to <https://unlicense.org>
      3// bbbbbr 2020
      4
      5#ifndef _AREAS_H
      6#define _AREAS_H
      7
      8typedef struct area_item {
      9    uint32_t start;
     10    uint32_t end;
     11    uint32_t length;
     12} area_item;
     13
     14
     15void areas_init(void);
     16void areas_cleanup(void);
     17int areas_add(area_item * p_area);
     18
     19#endif // _AREAS_H