From: Bruno Haible Date: Fri, 20 Oct 2006 11:50:33 +0000 (+0000) Subject: Update exports for cygwin, mingw. X-Git-Tag: 0.16.x-branchpoint~52 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=515281a07c4f0f07ae10b6b9cbc834569a9ce9f9;p=thirdparty%2Fgettext.git Update exports for cygwin, mingw. --- diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index d7e3bfd53..666b8c759 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,7 @@ +2006-10-18 Bruno Haible + + * woe32dll/gettextsrc-exports.c: Add {input,output}_format_*. + 2006-10-16 Bruno Haible * libgettextpo: New directory. diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 8459babee..699e50125 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,12 @@ +2006-10-18 Bruno Haible + + * read-po.h (input_format_po): Mark as DLL_VARIABLE. + * read-properties.h (input_format_properties): Likewise. + * read-stringtable.h (input_format_stringtable): Likewise. + * write-po.h (output_format_po): Likewise. + * write-properties.h (output_format_properties): Likewise. + * write-stringtable.h (output_format_stringtable): Likewise. + 2006-10-16 Bruno Haible * gettext-po.h.in: Move to ../libgettextpo/. diff --git a/gettext-tools/src/read-po.h b/gettext-tools/src/read-po.h index 0cbd4e9c6..e8df49294 100644 --- a/gettext-tools/src/read-po.h +++ b/gettext-tools/src/read-po.h @@ -22,6 +22,6 @@ #include "read-catalog-abstract.h" /* Describes a .po / .pot file parser. */ -extern const struct catalog_input_format input_format_po; +extern DLL_VARIABLE const struct catalog_input_format input_format_po; #endif /* _READ_PO_H */ diff --git a/gettext-tools/src/read-properties.h b/gettext-tools/src/read-properties.h index 993f97e6d..f0cf84cf6 100644 --- a/gettext-tools/src/read-properties.h +++ b/gettext-tools/src/read-properties.h @@ -22,6 +22,6 @@ #include "read-catalog-abstract.h" /* Describes a .properties file parser. */ -extern const struct catalog_input_format input_format_properties; +extern DLL_VARIABLE const struct catalog_input_format input_format_properties; #endif /* _READ_PROPERTIES_H */ diff --git a/gettext-tools/src/read-stringtable.h b/gettext-tools/src/read-stringtable.h index 8f50ba831..4e2d3b2a7 100644 --- a/gettext-tools/src/read-stringtable.h +++ b/gettext-tools/src/read-stringtable.h @@ -22,6 +22,6 @@ #include "read-catalog-abstract.h" /* Describes a .strings file parser. */ -extern const struct catalog_input_format input_format_stringtable; +extern DLL_VARIABLE const struct catalog_input_format input_format_stringtable; #endif /* _READ_STRINGTABLE_H */ diff --git a/gettext-tools/src/write-po.h b/gettext-tools/src/write-po.h index 1095047a8..e5c2a8639 100644 --- a/gettext-tools/src/write-po.h +++ b/gettext-tools/src/write-po.h @@ -62,7 +62,7 @@ extern void message_print_style_escape (bool flag); /* Describes a PO file in .po syntax. */ -extern const struct catalog_output_format output_format_po; +extern DLL_VARIABLE const struct catalog_output_format output_format_po; #ifdef __cplusplus diff --git a/gettext-tools/src/write-properties.h b/gettext-tools/src/write-properties.h index def010a2f..0ef5672d9 100644 --- a/gettext-tools/src/write-properties.h +++ b/gettext-tools/src/write-properties.h @@ -22,6 +22,6 @@ #include "write-catalog.h" /* Describes a PO file in Java .properties syntax. */ -extern const struct catalog_output_format output_format_properties; +extern DLL_VARIABLE const struct catalog_output_format output_format_properties; #endif /* _WRITE_PROPERTIES_H */ diff --git a/gettext-tools/src/write-stringtable.h b/gettext-tools/src/write-stringtable.h index e2fd6b9a6..12f0b01b5 100644 --- a/gettext-tools/src/write-stringtable.h +++ b/gettext-tools/src/write-stringtable.h @@ -22,6 +22,6 @@ #include "write-catalog.h" /* Describes a PO file in .strings syntax. */ -extern const struct catalog_output_format output_format_stringtable; +extern DLL_VARIABLE const struct catalog_output_format output_format_stringtable; #endif /* _WRITE_STRINGTABLE_H */ diff --git a/gettext-tools/woe32dll/gettextsrc-exports.c b/gettext-tools/woe32dll/gettextsrc-exports.c index 77504fd2c..43aad5504 100644 --- a/gettext-tools/woe32dll/gettextsrc-exports.c +++ b/gettext-tools/woe32dll/gettextsrc-exports.c @@ -45,11 +45,17 @@ VARIABLE(formatstring_tcl) VARIABLE(formatstring_ycp) VARIABLE(gram_max_allowed_errors) VARIABLE(gram_pos) +VARIABLE(input_format_po) +VARIABLE(input_format_properties) +VARIABLE(input_format_stringtable) VARIABLE(less_than) VARIABLE(line_comment) VARIABLE(more_than) VARIABLE(msgcomm_mode) VARIABLE(omit_header) +VARIABLE(output_format_po) +VARIABLE(output_format_properties) +VARIABLE(output_format_stringtable) VARIABLE(pass_obsolete_entries) VARIABLE(plural_table) VARIABLE(plural_table_size)