dynamiC  0.1
dynamic_string.h
Go to the documentation of this file.
1 
15 #ifndef STRING_C_H
16 #define STRING_C_H
17 
18 #include "dynamic_types.h"
19 
20 #include <stdlib.h>
21 
25 void dyn_strcat (dyn_str destination, dyn_const_str source);
27 void dyn_strcat2 (dyn_str destination, dyn_const_str source);
29 void dyn_strcpy (dyn_str destination, dyn_const_str source);
31 void dyn_itoa (dyn_str str, dyn_int i);
32 
36 
38 void dyn_ftoa (dyn_str str, const dyn_float f);
39 
43 
46 
47 #endif
const char * dyn_const_str
Standard dynamic C const string.
Definition: dynamic_types.h:39
void dyn_strcat2(dyn_str destination, dyn_const_str source)
Concatenate strings, required memory is automatically allocated.
void dyn_ftoa(dyn_str str, const dyn_float f)
Float to ASCII-string conversion (decimal).
int32_t dyn_int
32bit signed integer, standard Integer type.
Definition: dynamic_types.h:49
void dyn_strcpy(dyn_str destination, dyn_const_str source)
Copy string.
void dyn_itoa(dyn_str str, dyn_int i)
Integer to ASCII-string conversion.
Definition of internal settings and applied data types.
dyn_int i
basic integer
Definition: dynamic_types.h:59
dyn_char dyn_strcmp(dyn_const_str a, dyn_const_str b)
Compares the string a to the string b.
dyn_ushort dyn_strlen(dyn_const_str str)
Returns the length of an string.
char dyn_char
Basic 8bit signed integer.
Definition: dynamic_types.h:30
uint16_t dyn_ushort
16bit unsigned integer
Definition: dynamic_types.h:43
dyn_ushort dyn_itoa_len(dyn_int i)
Calculates the number of required characters for integer to string (decimal) conversion, minus increases the value by one.
dyn_str str
pointer to character-array
Definition: dynamic_types.h:61
dyn_float f
float value
Definition: dynamic_types.h:60
void dyn_strcat(dyn_str destination, dyn_const_str source)
Concatenate strings.
float dyn_float
basic float definition (32 bit)
Definition: dynamic_types.h:55
dyn_ushort dyn_ftoa_len(const dyn_float f)
Calculates the number of required characters for float to string (decimal) conversion, minus increases the value by one.
char * dyn_str
Standard dynamic C string.
Definition: dynamic_types.h:36
dyn_char b
boolean value
Definition: dynamic_types.h:58