Add bitset_t as a global oplist.

This commit is contained in:
Patrick Pelissier committed 2017-09-14 23:02:33 +02:00
1 parent ea60cd2ae6
commit e80a9b8bb3
2 files changed
+10

No files matched your search

+2
View File
@@ -660,6 +660,8 @@ bitset_hash(const bitset_t dest)
,EQUAL(bitset_equal_p) \
)
#define M_OPL_bitset_t() BITSET_OPLIST
// TODO: set_at2, insert_v, remove_v
#endif
+8
View File
@@ -264,10 +264,18 @@ static void test_logic(void)
}
}
static void test_let(void)
{
M_LET(s1, bitset_t) {
bitset_push_back(s1, true);
}
}
int main(void)
{
test1();
test_str();
test_logic();
test_let();
exit(0);
}