2013-03-30 04:14:51 +01:00

29 lines
454 B
C++

#ifndef SPINE_ATTACHMENT_H_
#define SPINE_ATTACHMENT_H_
#ifdef __cplusplus
namespace spine {
extern "C" {
#endif
typedef enum {
ATTACHMENT_REGION, ATTACHMENT_REGION_SEQUENCE
} AttachmentType;
typedef struct Attachment Attachment;
struct Attachment {
const char* const name;
int type;
void (*_dispose) (Attachment* attachment);
};
void Attachment_dispose (Attachment* attachment);
#ifdef __cplusplus
}
}
#endif
#endif /* SPINE_ATTACHMENT_H_ */