shithub: rgbds

ref: 80a62a8a03fc252b68c59b110879b2694693e991
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