aboutsummaryrefslogtreecommitdiffstats
path: root/port.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'port.hpp')
-rw-r--r--port.hpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/port.hpp b/port.hpp
new file mode 100644
index 0000000..366f498
--- /dev/null
+++ b/port.hpp
@@ -0,0 +1,18 @@
+#ifndef MBUOY_PORT_HPP
+#define MBUOY_PORT_HPP
+
+#include <cstdio>
+
+namespace mbuoy {
+namespace port {
+
+inline void puts(int x, int y, const char *s)
+{
+ std::printf("[%d, %d]: %s\n", x, y, s);
+}
+
+} // namespace port
+} // namespace mbuoy
+
+#endif // MBUOY_PORT_HPP
+