wok diff mplayerplug-in/stuff/slitaz-hack.h @ rev 21807

Up vlc (3.0.6) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 16 08:34:09 2019 +0200 (2019-08-16)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mplayerplug-in/stuff/slitaz-hack.h	Fri Aug 16 08:34:09 2019 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +#define int16 int16_t
     1.5 +#define uint16 uint16_t
     1.6 +#define int32 int32_t
     1.7 +#define uint32 uint32_t
     1.8 +
     1.9 +#define CallNPN_GetURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4)   (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4))
    1.10 +#define	CallNPN_GetURLProc(FUNC, ARG1, ARG2, ARG3)   (*(FUNC))((ARG1), (ARG2), (ARG3))
    1.11 +#define CallNPN_PostURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7)   (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7))
    1.12 +#define CallNPN_PostURLProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6)   (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6))
    1.13 +#define CallNPN_RequestReadProc(FUNC, stream, range)   (*(FUNC))((stream), (range))
    1.14 +#define CallNPN_NewStreamProc(FUNC, npp, type, window, stream)   (*(FUNC))((npp), (type), (window), (stream))
    1.15 +#define CallNPN_WriteProc(FUNC, npp, stream, len, buffer)   (*(FUNC))((npp), (stream), (len), (buffer))
    1.16 +#define CallNPN_DestroyStreamProc(FUNC, npp, stream, reason)   (*(FUNC))((npp), (stream), (reason))
    1.17 +#define CallNPN_StatusProc(FUNC, npp, msg)   (*(FUNC))((npp), (msg))
    1.18 +#define CallNPN_UserAgentProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    1.19 +#define CallNPN_MemAllocProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    1.20 +#define CallNPN_MemFreeProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    1.21 +#define CallNPN_MemFlushProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    1.22 +#define CallNPN_ReloadPluginsProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    1.23 +#define CallNPN_GetValueProc(FUNC, ARG1, ARG2, ARG3)   (*(FUNC))((ARG1), (ARG2), (ARG3))
    1.24 +#define CallNPN_SetValueProc(FUNC, ARG1, ARG2, ARG3)   (*(FUNC))((ARG1), (ARG2), (ARG3))
    1.25 +#define CallNPN_InvalidateRectProc(FUNC, ARG1, ARG2)   (*(FUNC))((ARG1), (ARG2))
    1.26 +#define CallNPN_InvalidateRegionProc(FUNC, ARG1, ARG2)   (*(FUNC))((ARG1), (ARG2))
    1.27 +#define CallNPN_ForceRedrawProc(FUNC, ARG1)   (*(FUNC))((ARG1))
    1.28 +
    1.29 +#include <stdlib.h>
    1.30 +#include <assert.h>
    1.31 +