Add bitset_t as a global oplist.
This commit is contained in:
1 parent
ea60cd2ae6
commit
e80a9b8bb3
2 files changed
+10
No files matched your search
@@ -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
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user