shithub: rgbds

ref: a16d3d640512b4bec17eaafa3ea4a216f71bc551
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