libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit aeb6f223edaf80cac6241b64f917353f33eb38f4
parent df8acc0974e1345e4f0c04e8997001d980b68969
Author: LRN <lrn1986@gmail.com>
Date:   Tue, 21 Apr 2015 15:52:30 +0000

Do use Tidy calling convention (on W32 it is not cdecl)

Diffstat:
Msrc/plugins/html_extractor.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/plugins/html_extractor.c b/src/plugins/html_extractor.c @@ -105,7 +105,7 @@ tag_to_type (const char *tag) * @param mssg message * @return FALSE (no output) */ -static Bool +static Bool TIDY_CALL report_cb (TidyDoc doc, TidyReportLevel lvl, uint line, @@ -122,7 +122,7 @@ report_cb (TidyDoc doc, * @param sourceData our 'struct EXTRACTOR_ExtractContext' * @return next byte of input, EndOfStream on errors and EOF */ -static int +static int TIDY_CALL get_byte_cb (void *sourceData) { struct EXTRACTOR_ExtractContext *ec = sourceData; @@ -142,7 +142,7 @@ get_byte_cb (void *sourceData) * @param sourceData our 'struct EXTRACTOR_ExtractContext' * @param bt byte to unget (ignored) */ -static void +static void TIDY_CALL unget_byte_cb (void *sourceData, byte bt) { struct EXTRACTOR_ExtractContext *ec = sourceData; @@ -157,7 +157,7 @@ unget_byte_cb (void *sourceData, byte bt) * @param sourceData our 'struct EXTRACTOR_ExtractContext' * @return true if we are at the EOF */ -static Bool +static Bool TIDY_CALL eof_cb (void *sourceData) { struct EXTRACTOR_ExtractContext *ec = sourceData;