mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 02:02:06 +00:00
21 lines
384 B
C++
21 lines
384 B
C++
// SPDX-License-Identifier: MIT
|
|
|
|
#ifndef RGBDS_CLI_HPP
|
|
#define RGBDS_CLI_HPP
|
|
|
|
#include <stdarg.h>
|
|
#include <string>
|
|
|
|
#include "extern/getopt.hpp" // option
|
|
|
|
void cli_ParseArgs(
|
|
int argc,
|
|
char *argv[],
|
|
char const *shortOpts,
|
|
option const *longOpts,
|
|
void (*parseArg)(int, char *),
|
|
void (*fatal)(char const *, ...)
|
|
);
|
|
|
|
#endif // RGBDS_CLI_HPP
|