mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 15:01:53 -04:00
80ba3d9fd2
* checkpoint * checkpoint * rename f_pc * checkpoint * small symbol rename and fix some fpc symbols * remove unneeded entries from ldscript * simplify ok check, update docker container Co-authored-by: Pheenoh <pheenoh@gmail.com>
28 lines
793 B
C
28 lines
793 B
C
|
|
#ifndef SCOMPONENT_C_NODE_H_
|
|
#define SCOMPONENT_C_NODE_H_
|
|
|
|
#include "global.h"
|
|
|
|
typedef struct node_class {
|
|
struct node_class* mpPrevNode;
|
|
void* mpData;
|
|
struct node_class* mpNextNode;
|
|
} node_class;
|
|
|
|
void cNd_Join(node_class* pA, node_class* pB);
|
|
int cNd_LengthOf(node_class* pNode);
|
|
node_class* cNd_First(node_class* pNode);
|
|
node_class* cNd_Last(node_class* pNode);
|
|
node_class* cNd_Order(node_class* pNode, int idx);
|
|
void cNd_SingleCut(node_class* pNode);
|
|
void cNd_Cut(node_class* pNode);
|
|
void cNd_Addition(node_class* pA, node_class* pB);
|
|
void cNd_Insert(node_class* pA, node_class* pB);
|
|
void cNd_SetObject(node_class* pNode, void* pData);
|
|
void cNd_ClearObject(node_class* pNode);
|
|
void cNd_ForcedClear(node_class* pNode);
|
|
void cNd_Create(node_class* pNode, void* pData);
|
|
|
|
#endif
|