Register global oplist for string_t.

This commit is contained in:
Patrick Pelissier committed 2017-09-14 22:56:35 +02:00
1 parent 402c0a86e0
commit 4c688c1004
2 files changed
+10

No files matched your search

+9
View File
@@ -24,6 +24,15 @@
#define STRING_WITHIN_TEST
#include "m-string.h"
static void test1(void)
{
M_LET(s1, s2, string_t) {
string_set_str(s1, "Success!");
string_set(s2, s1);
}
}
int main(void)
{
string_t s1;