Loading...
Searching...
No Matches
layout_string.h
Go to the documentation of this file.
1
15#pragma once
16#include <stdbool.h>
17
22
24#define LAYOUT_INT_MAX 9999
25
35int layout_parse_int(const char **cursor);
36
49bool layout_has_any_block(const char *layout, int type_count);
50
int layout_parse_int(const char **cursor)
Reads a run of digits and moves the cursor past them.
Definition layout_string.c:9
bool layout_has_any_block(const char *layout, int type_count)
Whether a layout string holds at least one placeable block.
Definition layout_string.c:33