123456789101112131415 |
- Humming Owl's Multi-purpose Library - HOML
- typedef structs will always contain the following functions:
- - check_pointer: to check if a pointer to a structure is valid (raw check).
- - check_members: to check if the members of a struct are valid.
- - check all: function to do both checks from above at the same time.
- - create: to create the struct given all its members.
- - free function: to free the struct (free its memory if manually allocated).
- - print function: to print the struct info through a pointer to the struct (being/not being its members valid).
- - compare function: to compare 2 structs of the same type.
- ...
-
- Then, specific type functions (real)
|