Main Page | Class List | Directories | File List | Class Members | File Members

types.h File Reference

#include <MacTypes.h>
#include <alloca.h>
#include <string.h>

Go to the source code of this file.

Defines

#define __SYS_TYPES_H__   1
#define vorbis_size32_t   long

Typedefs

typedef short int16_t
typedef long int32_t
typedef long long int64_t

Functions

char * strdup (const char *inStr)


Define Documentation

#define __SYS_TYPES_H__   1
 

Definition at line 2 of file types.h.

#define vorbis_size32_t   long
 

Definition at line 12 of file types.h.


Typedef Documentation

typedef short int16_t
 

Definition at line 8 of file types.h.

typedef long int32_t
 

Definition at line 9 of file types.h.

typedef long long int64_t
 

Definition at line 10 of file types.h.


Function Documentation

char* strdup const char *  inStr  ) 
 

Definition at line 6 of file strdup.c.

References _ogg_malloc.

00007 {
00008         char *outStr = NULL;
00009         
00010         if (inStr == NULL) {
00011                 return NULL;
00012         }
00013         
00014         outStr = _ogg_malloc(strlen(inStr) + 1);
00015         
00016         if (outStr != NULL) {
00017                 strcpy(outStr, inStr);
00018         }
00019         
00020         return outStr;
00021 }


© sourcejam.com 2005-2008