Salad  1.0.15
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros | Typedefs | Enumerations
Sld_types

Macros

#define SLD_FALSE   0
 
#define SLD_TRUE   !(SLD_FALSE)
 
#define RETURN_SUCCESS   0
 
#define RETURN_FAILURE   -1
 

Typedefs

typedef unsigned char SLD_BYTE
 
typedef signed short int SLD_SSINT
 
typedef unsigned short int SLD_USINT
 
typedef signed int SLD_SINT
 
typedef unsigned int SLD_UINT
 
typedef signed long int SLD_SLINT
 
typedef unsigned long int SLD_ULINT
 
typedef SLD_USINT SLD_BOOL
 

Enumerations

enum  SLD_DATA_STRUCTURE {
  sld_data_structure_list, sld_data_structure_map, sld_data_structure_queue, sld_data_structure_stack,
  sld_data_structure_tree, sld_data_structure_vector
}
 
enum  SLD_DATA_TYPE {
  sld_data_type_char, sld_data_type_signed_char, sld_data_type_unsigned_char, sld_data_type_short,
  sld_data_type_signed_short, sld_data_type_unsigned_short, sld_data_type_int, sld_data_type_signed_int,
  sld_data_type_unsigned_int, sld_data_type_long, sld_data_type_signed_long, sld_data_type_unsigned_long,
  sld_data_type_float, sld_data_type_double, sld_data_type_char_pointer
}
 

Detailed Description

This module contains custom data types.

Macro Definition Documentation

#define RETURN_FAILURE   -1

A -1 return value is a failure

#define RETURN_SUCCESS   0

A zero return value is a success

#define SLD_FALSE   0

A zero value is false

#define SLD_TRUE   !(SLD_FALSE)

A non-zero value is true

Typedef Documentation

SLD_BOOL is an unsigned short

typedef unsigned char SLD_BYTE

An unsigned char is 1 byte

typedef signed int SLD_SINT

SLD_SINT is a signed int

typedef signed long int SLD_SLINT

SLD_SLINT is a signed long

typedef signed short int SLD_SSINT

SLD_SSINT is a signed short

typedef unsigned int SLD_UINT

SLD_UINT is an unsigned int

typedef unsigned long int SLD_ULINT

SLD_ULINT is an unsigned long

typedef unsigned short int SLD_USINT

SLD_USINT is an unsigned short

Enumeration Type Documentation

These constants represent the available data structures provided by Salad.

Enumerator
sld_data_structure_list 
sld_data_structure_map 
sld_data_structure_queue 
sld_data_structure_stack 
sld_data_structure_tree 
sld_data_structure_vector 

These constants represent the possible data types potentially stored in data structures provided by Salad.

Enumerator
sld_data_type_char 
sld_data_type_signed_char 
sld_data_type_unsigned_char 
sld_data_type_short 
sld_data_type_signed_short 
sld_data_type_unsigned_short 
sld_data_type_int 
sld_data_type_signed_int 
sld_data_type_unsigned_int 
sld_data_type_long 
sld_data_type_signed_long 
sld_data_type_unsigned_long 
sld_data_type_float 
sld_data_type_double 
sld_data_type_char_pointer