git.y1.nz

gbdk-2020

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

gbdk-support/lcc/list.h

      1 // list.h
      2 
      3 #include <stdbool.h>
      4 
      5 #ifndef _LCC_LIST_H
      6 #define _LCC_LIST_H
      7 
      8 
      9 typedef struct list *List;
     10 struct list {       /* circular list nodes: */
     11     char *str;      /* option or file name */
     12     List link;      /* next list element */
     13 };
     14 
     15 List append(char *, List);
     16 List find(char *, List);
     17 
     18 List path2list(const char *);
     19 
     20 void list_rewrite_exts(List, char *, char *);
     21 void list_duplicate_to_new_exts(List, char *, char *);
     22 List list_remove_all(List);
     23 List list_add_to_another(List, List, char *, char *);
     24 
     25 
     26 #endif // _LCC_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.