MGE General C Library - Full Internal Documentation  v1.8.4
Library of general C functions.
internal.h
Go to the documentation of this file.
1 
15 #ifndef INTERNAL_H
16 #define INTERNAL_H
17 
18 #include <libmgec/mge-bstree.h>
20 
21 #include <stddef.h>
22 
24 
26 struct bstobjcoord {
27  void *object;
28  int count;
29  int xdir;
30  int ydir;
31 };
32 
33 struct bstobjcoord *find_next_bst_node_trace(const struct bstree *tree,
34  struct bstobjcoord *searchobj);
35 
37 
38 #endif /* ndef INTERNAL_H */
void * object
The object.
Definition: internal.h:27
Binary search tree.
Definition: mge-bstree.h:41
int ydir
The y coordinate.
Definition: internal.h:30
Binary search tree header file.
Node coordinates for test tracing.
Definition: internal.h:26
Header file to ease portability.
#define END_C_DECLS
Use END_C_DECLS at the end of C declarations.
Definition: mge-portability.h:34
int count
The node counter.
Definition: internal.h:28
#define BEGIN_C_DECLS
BEGIN_C_DECLS should be used at the beginning of declarations so that C++ compilers don&#39;t mangle thei...
Definition: mge-portability.h:30
struct bstobjcoord * find_next_bst_node_trace(const struct bstree *tree, struct bstobjcoord *searchobj)
Find and return the next object and it&#39;s coordinates in the bst &#39;tree&#39;.
Definition: bstree.c:762
int xdir
The x coordinate.
Definition: internal.h:29