#include "gstlearn_export.hpp"
◆ exit_extern()
GSTLEARN_EXPORT void exit_extern |
( |
| ) |
|
External function to provoke an exit of API This call comes from AStringable where initial mes_abort() has been moved
◆ mem_error()
GSTLEARN_EXPORT void mem_error |
( |
int |
nbyte | ) |
|
Problem in memory allocation
- Parameters
-
[in] | nbyte | number of bytes to be allocated |
◆ message_extern()
GSTLEARN_EXPORT void message_extern |
( |
const char * |
string | ) |
|
Print a message This call comes from AStringable where initial message() has been moved
- Parameters
-
[in] | string | String to be displayed |
◆ print_current_line()
GSTLEARN_EXPORT void print_current_line |
( |
void |
| ) |
|
Print the current line read from an ASCII file
◆ record_close()
GSTLEARN_EXPORT void record_close |
( |
void |
| ) |
|
Read the next record
This method is not documented on purpose. It should remain private
◆ redefine_error()
GSTLEARN_EXPORT void redefine_error |
( |
void(*)(const char *) |
warn_func | ) |
|
Redefine the IO routine for printing error message
- Parameters
-
[in] | warn_func | Warning function |
◆ redefine_exit()
GSTLEARN_EXPORT void redefine_exit |
( |
void(*)(void) |
exit_func | ) |
|
Redefine the exiting routine
- Parameters
-
[in] | exit_func | Exiting function |
◆ redefine_message()
GSTLEARN_EXPORT void redefine_message |
( |
void(*)(const char *) |
write_func | ) |
|
Redefine the IO routine for printing message
- Parameters
-
[in] | write_func | Writing function |
◆ redefine_read()
GSTLEARN_EXPORT void redefine_read |
( |
void(*)(const char *, char *) |
read_func | ) |
|
Redefine the IO routine for Reading
- Parameters
-
[in] | read_func | Reading function |
◆ string_strip_blanks()
GSTLEARN_EXPORT void string_strip_blanks |
( |
char * |
string, |
|
|
int |
flag_lead |
|
) |
| |
Strip the blanks from a string
- Parameters
-
[in,out] | string | String to be cleaned |
[in] | flag_lead | 1 to strip only the leading blanks |
◆ string_strip_quotes()
GSTLEARN_EXPORT void string_strip_quotes |
( |
char * |
string | ) |
|
Strip the leading and trailing quotes from a string
- Parameters
-
[in,out] | string | String to be cleaned |