37 #if !defined (PLIBSYS_H_INSIDE) && !defined (PLIBSYS_COMPILATION) 38 # error "Header files shouldn't be included directly, consider using <plibsys.h> instead." 41 #ifndef PLIBSYS_HEADER_PSTRING_H 42 #define PLIBSYS_HEADER_PSTRING_H #define P_END_DECLS
Closes .h file declarations to be exported as C functions, should be always used after P_BEGIN_DECLS...
P_LIB_API double p_strtod(const pchar *str)
Converts a string to double without a locale dependency.
P_LIB_API pchar * p_strtok(pchar *str, const pchar *delim, pchar **buf)
Tokenizes a string by given delimiters.
char pchar
Type for a char.
P_LIB_API pchar * p_strchomp(const pchar *str)
Removes trailing and leading whitespaces.
P_LIB_API pchar * p_strdup(const pchar *str)
Copies a string.
#define P_LIB_API
Exports a symbol from a shared library.
#define P_BEGIN_DECLS
Starts .h file declarations to be exported as C functions.