summaryrefslogtreecommitdiff
path: root/src/device_allocation_fwd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/device_allocation_fwd.h')
-rw-r--r--src/device_allocation_fwd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/device_allocation_fwd.h b/src/device_allocation_fwd.h
new file mode 100644
index 00000000..7bc0e0b0
--- /dev/null
+++ b/src/device_allocation_fwd.h
@@ -0,0 +1,17 @@
+#pragma once
+
+#include "angband.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+typedef struct device_allocation device_allocation;
+struct device_allocation;
+
+void device_allocation_init(struct device_allocation *device_allocation, byte tval);
+struct device_allocation *device_allocation_new(byte tval);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif