rev |
line source |
pascal@4526
|
1 #define int16 int16_t
|
pascal@4526
|
2 #define uint16 uint16_t
|
pascal@4526
|
3 #define int32 int32_t
|
pascal@4526
|
4 #define uint32 uint32_t
|
pascal@4526
|
5
|
pascal@4526
|
6 #define CallNPN_GetURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4) (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4))
|
pascal@4526
|
7 #define CallNPN_GetURLProc(FUNC, ARG1, ARG2, ARG3) (*(FUNC))((ARG1), (ARG2), (ARG3))
|
pascal@4526
|
8 #define CallNPN_PostURLNotifyProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6), (ARG7))
|
pascal@4526
|
9 #define CallNPN_PostURLProc(FUNC, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6) (*(FUNC))((ARG1), (ARG2), (ARG3), (ARG4), (ARG5), (ARG6))
|
pascal@4526
|
10 #define CallNPN_RequestReadProc(FUNC, stream, range) (*(FUNC))((stream), (range))
|
pascal@4526
|
11 #define CallNPN_NewStreamProc(FUNC, npp, type, window, stream) (*(FUNC))((npp), (type), (window), (stream))
|
pascal@4526
|
12 #define CallNPN_WriteProc(FUNC, npp, stream, len, buffer) (*(FUNC))((npp), (stream), (len), (buffer))
|
pascal@4526
|
13 #define CallNPN_DestroyStreamProc(FUNC, npp, stream, reason) (*(FUNC))((npp), (stream), (reason))
|
pascal@4526
|
14 #define CallNPN_StatusProc(FUNC, npp, msg) (*(FUNC))((npp), (msg))
|
pascal@4526
|
15 #define CallNPN_UserAgentProc(FUNC, ARG1) (*(FUNC))((ARG1))
|
pascal@4526
|
16 #define CallNPN_MemAllocProc(FUNC, ARG1) (*(FUNC))((ARG1))
|
pascal@4526
|
17 #define CallNPN_MemFreeProc(FUNC, ARG1) (*(FUNC))((ARG1))
|
pascal@4526
|
18 #define CallNPN_MemFlushProc(FUNC, ARG1) (*(FUNC))((ARG1))
|
pascal@4526
|
19 #define CallNPN_ReloadPluginsProc(FUNC, ARG1) (*(FUNC))((ARG1))
|
pascal@4526
|
20 #define CallNPN_GetValueProc(FUNC, ARG1, ARG2, ARG3) (*(FUNC))((ARG1), (ARG2), (ARG3))
|
pascal@4526
|
21 #define CallNPN_SetValueProc(FUNC, ARG1, ARG2, ARG3) (*(FUNC))((ARG1), (ARG2), (ARG3))
|
pascal@4526
|
22 #define CallNPN_InvalidateRectProc(FUNC, ARG1, ARG2) (*(FUNC))((ARG1), (ARG2))
|
pascal@4526
|
23 #define CallNPN_InvalidateRegionProc(FUNC, ARG1, ARG2) (*(FUNC))((ARG1), (ARG2))
|
pascal@4526
|
24 #define CallNPN_ForceRedrawProc(FUNC, ARG1) (*(FUNC))((ARG1))
|
pascal@4526
|
25
|
pascal@4526
|
26 #include <stdlib.h>
|
pascal@4526
|
27 #include <assert.h>
|
pascal@4526
|
28
|