My library
Library for common tasks
Data Structures | Typedefs
types.h File Reference

Collection of useful types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ArrayList
 ArrayList type More...
 
struct  node
 Node type More...
 
struct  LinkedList
 LinkedList type More...
 
struct  Stack
 Stack type More...
 
struct  Queue
 Queue type More...
 

Typedefs

typedef char byte
 Alias for char, just to avoid confusion with 8 bit numbers and ASCII characters. More...
 
typedef char * spec_t
 Used to specify type of argument passed in functions that require a type specifier. More...
 
typedef char * string
 Alias for char *, used when an array of char is actually used as a string. More...
 
typedef struct nodeNode
 Node type More...
 

Detailed Description

Collection of useful types.

Author
Pietro Firpo (pietr.nosp@m.o.fi.nosp@m.rpo@p.nosp@m.m.me)

Typedef Documentation

◆ byte

typedef char byte

Alias for char, just to avoid confusion with 8 bit numbers and ASCII characters.

◆ Node

typedef struct node * Node

Node type

Base component of every linked data type

Note
All the parameters in this structure must be intended as read-only. Manually modifying them can cause unknown and unwanted behavior

◆ spec_t

typedef char* spec_t

Used to specify type of argument passed in functions that require a type specifier.

Supported specifiers: "%c" (char), "%i" (int), "%f" (float), "%lf" (double), "%p" (pointer)

Note
Some functions may not support some identifiers or may support additional identifiers. In those cases refer to that function documentation

◆ string

typedef char* string

Alias for char *, used when an array of char is actually used as a string.