git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-support/bankpack/list.h

      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 _LIST_H
      6 #define _LIST_H
      7 
      8 
      9 typedef struct list_type {
     10     void *   p_array;
     11     uint32_t size;
     12     uint32_t count;
     13     size_t   typesize;
     14 } list_type;
     15 
     16 void list_init(list_type *, size_t);
     17 void list_cleanup(list_type *);
     18 void list_additem(list_type *, void *);
     19 
     20 #endif // _LIST_H

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.