|
@@ -9,6 +9,20 @@
|
|
|
|
|
|
#include <string.h>
|
|
|
|
|
|
+/**
|
|
|
+ * Creation d'un nouveau string vide
|
|
|
+ * @param int Taille
|
|
|
+ * @return char* Le string
|
|
|
+ */
|
|
|
+char* new_string(int);
|
|
|
+
|
|
|
+/**
|
|
|
+ * Copie un string
|
|
|
+ * @param char* Le string à copier
|
|
|
+ * @return char* Le string copié
|
|
|
+ */
|
|
|
+char* string_copy(char*);
|
|
|
+
|
|
|
/**
|
|
|
* Retire les espaces avant et après la chaine
|
|
|
* @param char* La chaine à modifier
|
|
@@ -53,7 +67,7 @@ void reverse(char*, int);
|
|
|
* @param char* Le buffer de reception de la chaine
|
|
|
* @param int Le nombre de chiffre après la virgule
|
|
|
*/
|
|
|
-void ftoa(float, char*, int) ;
|
|
|
+void ftoa(float, char*, int);
|
|
|
|
|
|
#endif /* STR_H */
|
|
|
|