summaryrefslogtreecommitdiff
path: root/chapter31/src/main/c/simple_graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'chapter31/src/main/c/simple_graphics.h')
-rw-r--r--chapter31/src/main/c/simple_graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter31/src/main/c/simple_graphics.h b/chapter31/src/main/c/simple_graphics.h
index 35a0aa08..370256be 100644
--- a/chapter31/src/main/c/simple_graphics.h
+++ b/chapter31/src/main/c/simple_graphics.h
@@ -14,6 +14,7 @@ struct simple_graphics_api {
int32_t (*button)(int32_t);
int32_t (*key)(int32_t);
void (*close)(void);
+ int32_t (*wait)(int64_t);
};
-#define SIMPLE_GRAPHICS_VERSION 1
+#define SIMPLE_GRAPHICS_VERSION 2
#endif