gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-support/png2hicolorgb/src/path_ops.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 _PATH_OPS_H
6 #define _PATH_OPS_H
7
8 #include <stdbool.h>
9 #include <stddef.h>
10 #include <stdint.h>
11
12 void filename_replace_extension(char * filename, char * new_ext, size_t maxlen);
13 void filename_replace_path(char * filename, char * new_path, size_t maxlen);
14 const char * get_filename_from_path(const char * path);
15 void filename_remove_extension(char * path);
16 bool get_path_without_filename(const char * path, char * path_only, uint32_t str_max);
17 bool matches_extension(char *, char *);
18
19 #endif // _PATH_OPS_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.