mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Use std::string for macro args
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "asm/warning.hpp"
|
||||
@@ -13,10 +14,9 @@
|
||||
|
||||
struct MacroArgs {
|
||||
unsigned int shift;
|
||||
std::vector<char *> args;
|
||||
std::vector<std::string> args;
|
||||
|
||||
void append(char *s);
|
||||
void clear();
|
||||
void append(std::string s);
|
||||
};
|
||||
|
||||
MacroArgs *macro_GetCurrentArgs();
|
||||
|
||||
Reference in New Issue
Block a user