summaryrefslogtreecommitdiff
path: root/core/io/stream_peer.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-01-02 23:03:46 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-01-02 23:03:46 -0300
commit118eed485e8f928a5a0dab530ae93211afa10525 (patch)
tree83efb5cbcebb7046e5b64dfe1712475a7d3b7f14 /core/io/stream_peer.h
parentce26eb74bca48f16e9a34b4eb1c34e50dfc5daae (diff)
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant.
All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
Diffstat (limited to 'core/io/stream_peer.h')
-rw-r--r--core/io/stream_peer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/io/stream_peer.h b/core/io/stream_peer.h
index 1c415ed5a9..232a908dd7 100644
--- a/core/io/stream_peer.h
+++ b/core/io/stream_peer.h
@@ -32,7 +32,7 @@
#include "reference.h"
class StreamPeer : public Reference {
- OBJ_TYPE( StreamPeer, Reference );
+ GDCLASS( StreamPeer, Reference );
OBJ_CATEGORY("Networking");
protected:
static void _bind_methods();
@@ -94,7 +94,7 @@ public:
class StreamPeerBuffer : public StreamPeer {
- OBJ_TYPE(StreamPeerBuffer,StreamPeer);
+ GDCLASS(StreamPeerBuffer,StreamPeer);
DVector<uint8_t> data;
int pointer;