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 P_BEGIN_DECLS P_LIB_API pchar * p_strdup(const pchar *str)
Copies a string.
#define P_END_DECLS
Closes .h file declarations to be exported as C functions, should be always used after P_BEGIN_DECLS...
Definition: pmacros.h:299
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.
Definition: ptypes.h:116
P_LIB_API pchar * p_strchomp(const pchar *str)
Removes trailing and leading whitespaces.
#define P_LIB_API
Exports a symbol from a shared library.
Definition: pmacros.h:138
#define P_BEGIN_DECLS
Starts .h file declarations to be exported as C functions.
Definition: pmacros.h:298