before next stage
This commit is contained in:
13
include/linklist.h
Normal file
13
include/linklist.h
Normal file
@ -0,0 +1,13 @@
|
||||
#include "rust.h"
|
||||
|
||||
struct Node{
|
||||
void* val;
|
||||
__INTPTR_TYPE__ xor_;
|
||||
};
|
||||
|
||||
struct Node* xor_new(void * val);
|
||||
struct Node* xor_next(struct Node* previous,struct Node* current);
|
||||
struct Node* xor_insert_front(struct Node* head,void* val);
|
||||
struct Node* xor_insert_mid(struct Node* previous,struct Node* current,void * val);
|
||||
void * xor_remove(struct Node * previous,struct Node* current);
|
||||
usize xor_count(struct Node* head);
|
Reference in New Issue
Block a user