git.y1.nz

gbdk-2020

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

gbdk-support/makecom/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 void filename_replace_extension(char * filename, char * new_ext, size_t maxlen);
      9 void filename_replace_path(char * filename, char * new_path, size_t maxlen);
     10 const char * get_filename_from_path(const char * path);
     11 void filename_remove_extension(char * path);
     12 bool get_path_without_filename(const char * path, char * path_only, uint32_t str_max);
     13 
     14 
     15 #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.