<a href="https://bitbucket.org/carli/gwscript/src/tip/libs/strings.ll">https://bitbucket.org/carli/gwscript/src/tip/libs/strings.ll</a><br><br>where string is defined with<br>%.string = type {i32, i32, i32, [0 x i8]}<br>(reference counter, length, max-length of the buffer, content)<br>
<br>you can modify and adapt the sources as you want.<br>