]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - src/matrix.c
refactor fixedbuffer, add mjson
[matrix_esp_thesis] / src / matrix.c
index bc0f1ca704af357798fff98fca2b1722b1d0c736..082806a73c55ef1518d8bd8300ba51bb1e38b2bd 100644 (file)
@@ -1,16 +1,5 @@
 #include "matrix.h"\r
 \r
-FixedBuffer\r
-FixedBuf(const char * str)\r
-{\r
-    int len = strlen(str);\r
-    FixedBuffer result;\r
-    result.ptr = (char *)str;\r
-    result.size = len;\r
-    result.len = len;\r
-    return result;\r
-}\r
-\r
 \r
 bool\r
 MatrixClientInit(\r