repo.or.cz
/
rofl0r-concol.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
README: mention SDL2 backend
[rofl0r-concol.git]
/
point.h
blob
dac2bdfbf241469a4d114e492486c641a370acc0
1
#ifndef POINT_H
2
#define POINT_H
3
4
typedef
struct
{
5
int
x
;
6
int
y
;
7
}
point
;
8
9
#define point_equal(A, B) ((A).x == (B).x && (A).y == (B).y)
10
#define make_point(A, B) ((point) {(A), (B)})
11
12
#endif