Register global oplist for string_t.
This commit is contained in:
1 parent
402c0a86e0
commit
4c688c1004
2 files changed
+10
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user