[xiph-cvs] cvs commit: ogg/macos/compat/sys types.h
Ralph Giles
giles at xiph.org
Sat Jul 13 04:37:28 PDT 2002
giles 02/07/13 04:37:28
Added: macos libogg.mcp libogg.mcp.exp
macos/compat strdup.c
macos/compat/sys types.h
Removed: mac libogg.mcp libogg.mcp.exp
mac/compat strdup.c
mac/compat/sys types.h
Log:
rename classic mac build dir to macos/
Revision Changes Path
1.1 ogg/macos/libogg.mcp
Index: libogg.mcp
===================================================================
cool
<p><p><p><p><p>NONAME.EXE
<p>Ogg Source
F
l
«
Ô
ù
<p><p><p>-Static Debug:Rez Compiler
<p><p><p> .au
C/C++ x86
<p><p> .au
C/C++ x86
NONAME.EXE
mo
<key>
<p><p><p>pref
pref
pref
<p>pref
pref
pref
<p>1.1 ogg/macos/libogg.mcp.exp
Index: libogg.mcp.exp
===================================================================
### From <ogg/ogg.h>
# Ogg BITSTREAM PRIMITIVES: bitstream
oggpack_writeinit
oggpack_writetrunc
oggpack_writealign
oggpack_writecopy
oggpack_reset
oggpack_writeclear
oggpack_readinit
oggpack_write
oggpack_look
oggpack_look1
oggpack_adv
oggpack_adv1
oggpack_read
oggpack_read1
oggpack_bytes
oggpack_bits
oggpack_get_buffer
# Ogg BITSTREAM PRIMITIVES: encoding
ogg_stream_packetin
ogg_stream_pageout
ogg_stream_flush
# Ogg BITSTREAM PRIMITIVES: decoding
ogg_sync_init
ogg_sync_clear
ogg_sync_reset
ogg_sync_destroy
ogg_sync_buffer
ogg_sync_wrote
ogg_sync_pageseek
ogg_sync_pageout
ogg_stream_pagein
ogg_stream_packetout
ogg_stream_packetpeek
# Ogg BITSTREAM PRIMITIVES: general
ogg_stream_init
ogg_stream_clear
ogg_stream_reset
ogg_stream_reset_serialno
ogg_stream_destroy
ogg_stream_eos
ogg_page_checksum_set
ogg_page_version
ogg_page_continued
ogg_page_bos
ogg_page_eos
ogg_page_granulepos
ogg_page_serialno
ogg_page_pageno
ogg_page_packets
ogg_packet_clear
<p>1.1 ogg/macos/compat/strdup.c
Index: strdup.c
===================================================================
#include <ogg/os_types.h>
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
char *strdup(const char *inStr)
{
char *outStr = NULL;
if (inStr == NULL) {
return NULL;
}
outStr = _ogg_malloc(strlen(inStr) + 1);
if (outStr != NULL) {
strcpy(outStr, inStr);
}
return outStr;
}
<p><p>1.1 ogg/macos/compat/sys/types.h
Index: types.h
===================================================================
#ifndef __SYS_TYPES_H__
#define __SYS_TYPES_H__ 1
#include <MacTypes.h>
#include <alloca.h>
#include <string.h>
typedef short int16_t;
typedef long int32_t;
typedef long long int64_t;
#define vorbis_size32_t long
#if defined(__cplusplus)
extern "C" {
#endif
#pragma options align=power
char *strdup(const char *inStr);
#pragma options align=reset
#if defined(__cplusplus)
}
#endif
#endif /* __SYS_TYPES_H__ */
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list