You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
494 B
28 lines
494 B
#pragma once
|
|
#include <assert.h>
|
|
#include <limits.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
|
|
#define ORCA_Y_MAX UINT16_MAX
|
|
#define ORCA_X_MAX UINT16_MAX
|
|
|
|
typedef char Term;
|
|
typedef uint16_t U16;
|
|
typedef int16_t I16;
|
|
typedef uint32_t U32;
|
|
typedef int32_t I32;
|
|
typedef uint64_t U64;
|
|
typedef int64_t I64;
|
|
typedef size_t USz;
|
|
typedef ssize_t ISz;
|
|
|
|
typedef struct {
|
|
Term* buffer;
|
|
U16 height;
|
|
U16 width;
|
|
} Field;
|
|
|