annotate loader/loader.h @ 24796:8dfda4d651ec

_vorbis_block_alloc() is used w/o prototype, this will crash on ia64. Add a header file with the function prototype to address this issue. This has the positive side effect of fixing a couple of implicit declaration warnings. The problem was originally reported as Debian bug 447278. patch by Dann Frazier and Andrea Mennucci, mennucc1 debian org
author diego
date Sat, 20 Oct 2007 22:41:24 +0000
parents c98c9e7f3bd0
children 2c8cdb9123b8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 /********************************************************
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 Win32 binary loader interface
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
4 Copyright 2000 Eugene Kuznetsov (divx@euro.ru)
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 Shamelessly stolen from Wine project
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 *********************************************************/
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8
15166
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 7386
diff changeset
9 /*
18783
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15166
diff changeset
10 * Modified for use with MPlayer, detailed changelog at
0783dd397f74 CVS --> Subversion in copyright notices
diego
parents: 15166
diff changeset
11 * http://svn.mplayerhq.hu/mplayer/trunk/
15166
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 7386
diff changeset
12 * $Id$
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 7386
diff changeset
13 */
f5537cc95b02 Mark modified imported files as such to comply with GPL ¡ø2a.
diego
parents: 7386
diff changeset
14
24422
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 18783
diff changeset
15 #ifndef LOADER_H
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 18783
diff changeset
16 #define LOADER_H
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
17
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 extern "C" {
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21
7386
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
22 #include "wine/windef.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
23 #include "wine/driver.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
24 #include "wine/mmreg.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
25 #include "wine/vfw.h"
174e2a58b4cd avifile sync - 95% cosmetics 5% bug
arpi
parents: 1494
diff changeset
26 #include "wine/msacm.h"
1494
d11e510d0c04 SetCodecPath -> win32_codec_name
arpi
parents: 1307
diff changeset
27
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 unsigned int _GetPrivateProfileIntA(const char* appname, const char* keyname, int default_value, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 int _GetPrivateProfileStringA(const char* appname, const char* keyname,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 const char* def_val, char* dest, unsigned int len, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 int _WritePrivateProfileStringA(const char* appname, const char* keyname,
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 const char* string, const char* filename);
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33
1307
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 128
diff changeset
34 INT WINAPI LoadStringA( HINSTANCE instance, UINT resource_id,
d8c1b0b38edc Add prototypes to wine/loader stuff, so that we can catch __stdcall function
jkeil
parents: 128
diff changeset
35 LPSTR buffer, INT buflen );
128
28091b3caff9 DLL loader updated from avifile-0.60beta4
arpi_esp
parents: 1
diff changeset
36
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 #ifdef __cplusplus
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 #endif
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40
24422
c98c9e7f3bd0 Remove leading underscores from multiple inclusion guards,
diego
parents: 18783
diff changeset
41 #endif /* LOADER_H */