#ifndef MYSTRING_H #define MYSTRING_H #include typedef struct myString_t { int length; char *str; } * MyString; // Note that type MyString is a pointer type // takes a null terminated array of char as the argument MyString MyString_create(const char * cstring); // deep copy - takes another MyString as the argument bool MyString_copy(MyString dest, const MyString src); // print utility void MyString_print(MyString s); #endif // MYSTRING_H