mirror of
https://github.com/javalsai/lidm.git
synced 2025-09-01 02:47:59 +02:00
chore: modularize PAM
also helps with sanitizing the code flow when spawning the child, more code though
This commit is contained in:
@@ -30,6 +30,8 @@ struct Vector {
|
||||
void** pages;
|
||||
};
|
||||
|
||||
struct Vector vec_from_raw(void** raw);
|
||||
void** vec_as_raw(struct Vector self);
|
||||
extern const struct Vector VEC_NEW;
|
||||
int vec_resize(struct Vector* self, size_t size);
|
||||
int vec_reserve(struct Vector* self, size_t size);
|
||||
|
Reference in New Issue
Block a user