Loading...
Searching...
No Matches
dylib_std.h File Reference
`#include <stddef.h>`
`#include <stdlib.h>`
`#include "DylpConfig.h"`
`#include <string.h>`
Include dependency graph for dylib_std.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes

struct | lnk_struct_tag

## Macros

#define | UNUSED
#define | FALSE 0
#define | TRUE 1
#define | setflg(zz_flgs, zz_flg) ((zz_flgs) |= (zz_flg))
#define | clrflg(zz_flgs, zz_flg) ((zz_flgs) &= ~(zz_flg))
#define | comflg(zz_flgs, zz_flg) ((zz_flgs) ^= (zz_flg))
#define | getflg(zz_flgs, zz_flg) ((zz_flgs)&(zz_flg))
#define | flgon(zz_flgs, zz_flg) ((zz_flgs)&(zz_flg)?TRUE:FALSE)
#define | flgoff(zz_flgs, zz_flg) ((zz_flgs)&(zz_flg)?FALSE:TRUE)
#define | flgall(zz_flgs, zz_flg) ((((zz_flgs)&(zz_flg)) == (zz_flg))?TRUE:FALSE)
#define | lnk_in(qqlnk, qqval) ((qqlnk)->llval = (void *) (qqval))
#define | lnk_out(qqlnk, qqtype) ((qqtype) (qqlnk)->llval)
#define | minn(qa, qb) (((qa) > (qb))?(qb):(qa))
#define | maxx(qa, qb) (((qa) > (qb))?(qa):(qb))
#define | MALLOC_DBG_INIT(chn)
#define | MALLOC(zz_sze_zz) malloc(zz_sze_zz)
#define | CALLOC(zz_cnt_zz, zz_sze_zz) calloc(zz_cnt_zz,zz_sze_zz)
#define | REALLOC(zz_rptr_zz, zz_sze_zz) realloc(zz_rptr_zz,zz_sze_zz)
#define | FREE(zz_fptr_zz) free((void *) zz_fptr_zz)

## Typedefs

typedef BOOL | bool
typedef unsigned int | flags
typedef struct lnk_struct_tag | lnk_struct

## Macro Definition Documentation

## UNUSED

#define UNUSED

Definition at line 44 of file dylib_std.h.

## FALSE

#define FALSE 0

Definition at line 64 of file dylib_std.h.

## TRUE

#define TRUE 1

Definition at line 65 of file dylib_std.h.

## setflg

#define setflg | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((zz_flgs) |= (zz_flg))

Definition at line 99 of file dylib_std.h.

## clrflg

#define clrflg | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((zz_flgs) &= ~(zz_flg))

Definition at line 100 of file dylib_std.h.

## comflg

#define comflg | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((zz_flgs) ^= (zz_flg))

Definition at line 101 of file dylib_std.h.

## getflg

#define getflg | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((zz_flgs)&(zz_flg))

Definition at line 102 of file dylib_std.h.

## flgon

#define flgon | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((zz_flgs)&(zz_flg)?TRUE:FALSE)

Definition at line 103 of file dylib_std.h.

## flgoff

#define flgoff | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((zz_flgs)&(zz_flg)?FALSE:TRUE)

Definition at line 104 of file dylib_std.h.

## flgall

#define flgall | ( |  | zz_flgs,
|  |  | zz_flg
| ) |  | ((((zz_flgs)&(zz_flg)) == (zz_flg))?TRUE:FALSE)

Definition at line 105 of file dylib_std.h.

## lnk_in

#define lnk_in | ( |  | qqlnk,
|  |  | qqval
| ) |  | ((qqlnk)->llval = (void *) (qqval))

Definition at line 121 of file dylib_std.h.

## lnk_out

#define lnk_out | ( |  | qqlnk,
|  |  | qqtype
| ) |  | ((qqtype) (qqlnk)->llval)

Definition at line 122 of file dylib_std.h.

## minn

#define minn | ( |  | qa,
|  |  | qb
| ) |  | (((qa) > (qb))?(qb):(qa))

Definition at line 127 of file dylib_std.h.

## maxx

#define maxx | ( |  | qa,
|  |  | qb
| ) |  | (((qa) > (qb))?(qa):(qb))

Definition at line 128 of file dylib_std.h.

## MALLOC_DBG_INIT

#define MALLOC_DBG_INIT | ( |  | chn | ) |

Definition at line 209 of file dylib_std.h.

## MALLOC

#define MALLOC | ( |  | zz_sze_zz | ) | malloc(zz_sze_zz)

Definition at line 211 of file dylib_std.h.

## CALLOC

#define CALLOC | ( |  | zz_cnt_zz,
|  |  | zz_sze_zz
| ) |  | calloc(zz_cnt_zz,zz_sze_zz)

Definition at line 213 of file dylib_std.h.

## REALLOC

#define REALLOC | ( |  | zz_rptr_zz,
|  |  | zz_sze_zz
| ) |  | realloc(zz_rptr_zz,zz_sze_zz)

Definition at line 215 of file dylib_std.h.

## FREE

#define FREE | ( |  | zz_fptr_zz | ) | free((void *) zz_fptr_zz)

Definition at line 217 of file dylib_std.h.

## Typedef Documentation

## bool

typedef BOOL bool

Definition at line 68 of file dylib_std.h.

## flags

typedef unsigned int flags

Definition at line 97 of file dylib_std.h.

## lnk_struct

typedef struct lnk_struct_tag lnk_struct