From 66309c203c4ceb008f1e28dfdfa8529f79b39e56 Mon Sep 17 00:00:00 2001 From: NathanSweet Date: Fri, 26 Apr 2013 00:20:14 +0200 Subject: [PATCH] Ctor for C++. --- spine-c/include/spine/AttachmentLoader.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spine-c/include/spine/AttachmentLoader.h b/spine-c/include/spine/AttachmentLoader.h index c447de35e..b02556174 100644 --- a/spine-c/include/spine/AttachmentLoader.h +++ b/spine-c/include/spine/AttachmentLoader.h @@ -40,6 +40,9 @@ struct AttachmentLoader { const char* error2; const void* const vtable; +#ifdef __cplusplus + AttachmentLoader () : error1(0), error2(0), vtable(0) {} +#endif }; void AttachmentLoader_dispose (AttachmentLoader* self);