GEL  0.99
debug.h File Reference
#include <gel/common.h>
#include <gel/gel.h>
#include <gel/util.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  unit_line_t
 
struct  unit_t
 
struct  segment_t
 
struct  gel_line_map_t
 

Typedefs

typedef uint32_t uword
 
typedef int16_t half
 
typedef uint16_t uhalf
 
typedef int8_t byte
 
typedef uint8_t ubyte
 
typedef struct unit_line_t unit_line_t
 
typedef struct unit_t unit_t
 
typedef struct segment_t segment_t
 

Functions

int gel_init_line_map_segs (gel_file_t *file, gel_line_map_t *map, int step)
 

Variables

__BEGIN_DECLS typedef int32_t word
 

Typedef Documentation

◆ byte

typedef int8_t byte

◆ half

typedef int16_t half

◆ segment_t

typedef struct segment_t segment_t

◆ ubyte

typedef uint8_t ubyte

◆ uhalf

typedef uint16_t uhalf

◆ unit_line_t

typedef struct unit_line_t unit_line_t

◆ unit_t

typedef struct unit_t unit_t

◆ uword

typedef uint32_t uword

Function Documentation

◆ gel_init_line_map_segs()

int gel_init_line_map_segs ( gel_file_t file,
gel_line_map_t map,
int  step 
)

Initialize the segments part of line map.

Parameters
fileGEL file to work with.
mapLine map to initialize.
stepStep in bytes between each line.
Returns
0 for success, -1 else (error in gel_errno).

Variable Documentation

◆ word

__BEGIN_DECLS typedef int32_t word