Adding the export marker to all functions used in tests.

This commit is contained in:
AeroXuk
2017-11-20 20:58:37 +00:00
parent ad682b7592
commit f07ab765cb
17 changed files with 98 additions and 90 deletions

View File

@@ -599,7 +599,7 @@ bool numex_module_init(void) {
Must be called only once before the module can be used
*/
bool numex_module_setup(char *filename) {
LIBPOSTAL_EXPORT bool numex_module_setup(char *filename) {
if (numex_table == NULL) {
return numex_table_load(filename == NULL ? DEFAULT_NUMEX_PATH : filename);
}
@@ -610,7 +610,7 @@ bool numex_module_setup(char *filename) {
Called once when done with the module (usually at
the end of a main method)
*/
void numex_module_teardown(void) {
LIBPOSTAL_EXPORT void numex_module_teardown(void) {
numex_table_destroy();
numex_table = NULL;
}
@@ -1101,7 +1101,7 @@ size_t ordinal_suffix_len(char *str, size_t len, char *lang) {
return 0;
}
char *replace_numeric_expressions(char *str, char *lang) {
LIBPOSTAL_EXPORT char *replace_numeric_expressions(char *str, char *lang) {
numex_result_array *results = convert_numeric_expressions(str, lang);
if (results == NULL) return NULL;