Use EXPORT macro in a way compatible with win32
This commit is contained in:
parent
96748cf309
commit
19f9dc98ee
7 changed files with 33 additions and 33 deletions
|
@ -62,7 +62,7 @@ _le_32 (celt_uint32_t i)
|
|||
return ret;
|
||||
}
|
||||
|
||||
void EXPORT celt_header_init(CELTHeader *header, const CELTMode *m)
|
||||
void celt_header_init(CELTHeader *header, const CELTMode *m)
|
||||
{
|
||||
CELT_COPY(header->codec_id, "CELT ", 8);
|
||||
CELT_COPY(header->codec_version, "experimental ", 20);
|
||||
|
@ -77,7 +77,7 @@ void EXPORT celt_header_init(CELTHeader *header, const CELTMode *m)
|
|||
header->extra_headers = 0;
|
||||
}
|
||||
|
||||
int EXPORT celt_header_to_packet(const CELTHeader *header, unsigned char *packet, celt_uint32_t size)
|
||||
int celt_header_to_packet(const CELTHeader *header, unsigned char *packet, celt_uint32_t size)
|
||||
{
|
||||
celt_int32_t * h;
|
||||
|
||||
|
@ -103,7 +103,7 @@ int EXPORT celt_header_to_packet(const CELTHeader *header, unsigned char *packet
|
|||
return sizeof(*header);
|
||||
}
|
||||
|
||||
int EXPORT celt_header_from_packet(const unsigned char *packet, celt_uint32_t size, CELTHeader *header)
|
||||
int celt_header_from_packet(const unsigned char *packet, celt_uint32_t size, CELTHeader *header)
|
||||
{
|
||||
CELT_COPY((unsigned char*)header, packet, sizeof(*header));
|
||||
return sizeof(*header);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue