summaryrefslogtreecommitdiff
path: root/src/plugin-types.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-03-20 15:56:35 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-03-21 11:06:05 -0400
commitcae76dd98e301a4560bb46ecb59b5952dff04149 (patch)
tree8e85d17234c6838fd24925889cd784296df56956 /src/plugin-types.hpp
parent9f036b05d36203465ca481f39d2cd51233e82b9e (diff)
pke: cleanup std stream usage
Diffstat (limited to 'src/plugin-types.hpp')
-rw-r--r--src/plugin-types.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugin-types.hpp b/src/plugin-types.hpp
index 319960d..f7a119b 100644
--- a/src/plugin-types.hpp
+++ b/src/plugin-types.hpp
@@ -2,13 +2,13 @@
#define PKE_PLUGIN_TYPES_HPP
#include <cstdint>
-#include <fstream>
+#include <istream>
constexpr int64_t CallbackSignatureLength = 16;
using CallbackSignature = char[CallbackSignatureLength];
-typedef void (*DeserializeDelegate)(std::ifstream *stream);
-typedef void (*SerializeDelegate)(std::ifstream *stream);
+typedef void (*DeserializeDelegate)(std::istream *stream);
+typedef void (*SerializeDelegate)(std::istream *stream);
typedef void (*CollisionDelegate)(const void *entHandleLeft, const void *entHandleRight);
struct PkeEntityTypeInterface {