shithub: rgbds

ref: 8ccbd9dc36c9fd672225ba91e50d022f166acd73
dir: /include/asm/opt.h/

View raw version
/*
 * This file is part of RGBDS.
 *
 * Copyright (c) 2021, Eldred Habert and RGBDS contributors.
 *
 * SPDX-License-Identifier: MIT
 */

#ifndef RGBDS_OPT_H
#define RGBDS_OPT_H

#include <stdbool.h>
#include <stdint.h>

void opt_B(char const chars[2]);
void opt_G(char const chars[4]);
void opt_P(uint8_t padByte);
void opt_Q(uint8_t precision);
void opt_L(bool optimize);
void opt_W(char const *flag);
void opt_Parse(char const *option);

void opt_Push(void);
void opt_Pop(void);

#endif // RGBDS_OPT_H