-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed up some things I borked along the way with lists and loops.
Minor edits.
- Loading branch information
Showing
15 changed files
with
310 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#pragma once | ||
|
||
#include "con4m.h" | ||
|
||
extern void *c4m_list_get(c4m_list_t *, int64_t, bool *); | ||
extern void c4m_list_append(c4m_list_t *list, void *item); | ||
extern void c4m_list_add_if_unique(c4m_list_t *list, | ||
void *item, | ||
bool (*fn)(void *, void *)); | ||
extern void *c4m_list_pop(c4m_list_t *list); | ||
extern void c4m_list_plus_eq(c4m_list_t *, c4m_list_t *); | ||
extern c4m_list_t *c4m_list_plus(c4m_list_t *, c4m_list_t *); | ||
extern bool c4m_list_set(c4m_list_t *, int64_t, void *); | ||
extern c4m_list_t *c4m_list(c4m_type_t *); | ||
extern int64_t c4m_list_len(const c4m_list_t *); | ||
extern c4m_list_t *c4m_list_get_slice(c4m_list_t *, int64_t, int64_t); | ||
extern void c4m_list_set_slice(c4m_list_t *, | ||
int64_t, | ||
int64_t, | ||
c4m_list_t *); | ||
extern bool c4m_list_contains(c4m_list_t *, c4m_obj_t); | ||
extern c4m_list_t *c4m_list_copy(c4m_list_t *); | ||
extern c4m_list_t *c4m_list_shallow_copy(c4m_list_t *); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.