diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-20 15:56:35 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-21 11:06:05 -0400 |
| commit | cae76dd98e301a4560bb46ecb59b5952dff04149 (patch) | |
| tree | 8e85d17234c6838fd24925889cd784296df56956 /src/plugin-types.hpp | |
| parent | 9f036b05d36203465ca481f39d2cd51233e82b9e (diff) | |
pke: cleanup std stream usage
Diffstat (limited to 'src/plugin-types.hpp')
| -rw-r--r-- | src/plugin-types.hpp | 6 |
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 { |
