SyntaxFix
Write A Post
Hire A Developer
Questions
You could just use an even simpler typedef:
typedef
typedef char *string;
Then, your malloc would look like a usual malloc:
string s = malloc(maxStringLength);