changed names of my structs to have C_...

This commit is contained in:
saxon 2018-08-07 13:58:00 +09:30
parent 1841b16feb
commit 16c769a411
1 changed files with 9 additions and 9 deletions

View File

@ -263,7 +263,7 @@ type C_RTMP struct {
// typedef struct RTMPPacket
// rtmp.h +113
type RTMPPacket struct {
type C_RTMPPacket struct {
m_headerType uint8
m_packetType uint8
m_hasAbsTimestamp uint8
@ -278,21 +278,21 @@ type RTMPPacket struct {
// typedef struct RTMPMethod
// rtmp.h +231
type RTMP_METHOD struct {
type C_RTMP_METHOD struct {
name AVal
num int
}
// typedef struct AVal
// amf.h +57
type AVal struct {
type C_AVal struct {
av_val *byte
av_len int
}
// typedef struct RTMP_READ
// rtmp.h +200
type RTMP_READ struct {
type C_RTMP_READ struct {
buf *byte
bufpos *byte
buflen uint
@ -312,7 +312,7 @@ type RTMP_READ struct {
// typedef struct RTMP_READ
// rtmp.h +200
type RTMPSockBuf struct {
type C_RTMPSockBuf struct {
sb_socket int
sb_size int
sb_start *byte
@ -323,7 +323,7 @@ type RTMPSockBuf struct {
// typedef struct RTMPChunk
// rtmp.h +105
type RTMPChunk struct {
type C_RTMPChunk struct {
c_headerSize int
c_chunkSize int
c_chunk *byte
@ -332,7 +332,7 @@ type RTMPChunk struct {
// typedef struct RTMP_LNK
// rtmp.h +144
type RTMP_LNK struct {
type C_RTMP_LNK struct {
hostname AVal
sockshost AVal
playpath0 AVal
@ -362,8 +362,8 @@ type RTMP_LNK struct {
}
// typedef struct AMF_Object
// amf.h AMFObject +67
type AMFObject struct {
// amf.h +67
type C_AMFObject struct {
o_num int
o_props *C.AMFObjectProperty
}