mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 12:01:41 +08:00
29 lines
454 B
C++
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_ */
|