shithub: rgbds

ref: 2fb1eb91364347e1afae57314eee3279a1b1b7d0
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 fill);
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