openalbridge/wrappers.h
changeset 2213 bd51bbf06033
parent 2212 6b5da1a2765a
child 2257 7eb31efcfb9b
equal deleted inserted replaced
2212:6b5da1a2765a 2213:bd51bbf06033
    14  * You should have received a copy of the GNU General Public License
    14  * You should have received a copy of the GNU General Public License
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
       
    19 #ifndef _OALB_WRAPPERS_H
       
    20 #define _OALB_WRAPPERS_H
       
    21 
    19 #include "globals.h"
    22 #include "globals.h"
    20 
    23 
    21 #pragma once
       
    22 
    24 
    23 void *Malloc (size_t nbytes);
    25 void *Malloc (size_t nbytes);
       
    26 void *Realloc (void *aptr, size_t nbytes);
    24 FILE *Fopen (const char *fname, char *mode);
    27 FILE *Fopen (const char *fname, char *mode);
    25 ALint AlGetError (const char *str);
    28 ALint AlGetError (const char *str);
    26 #ifndef _WIN32
    29 #ifndef _WIN32
    27 void *helper_fadein (void *tmp);
    30 void *helper_fadein (void *tmp);
    28 void *helper_fadeout (void *tmp); 
    31 void *helper_fadeout (void *tmp); 
    29 #else
    32 #else
    30 void WINAPI helper_fadein (void *tmp); 
    33 void *helper_fadein (void *tmp); 
    31 void WINAPI helper_fadeout (void *tmp); 	
    34 void *helper_fadeout (void *tmp); 	
    32 #endif
    35 #endif
       
    36 
       
    37 #endif /*_OALB_WRAPPERS_H*/