liblingoteach: lingdefs.h File Reference

Main Page | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

# lingdefs.h File Reference

## Defines
#define | LINGDEFS_H 1
#define | BEGIN_C_DECLS
#define | END_C_DECLS
#define | FALSE (0)
#define | TRUE (!FALSE)
#define | LING_ARRAY_LEN(array) (sizeof(array) / sizeof((array)[0]))
## Typedefs
typedef int | lingbool
typedef unsigned char | lingchar
typedef unsigned int | luint
typedef _lingLesson | lingLesson
typedef _lingMeaning | lingMeaning

## Define Documentation

#define BEGIN_C_DECLS

#define END_C_DECLS

#define FALSE (0)

#define LING_ARRAY_LEN | ( | array |  | ) | (sizeof(array) / sizeof((array)[0]))

| A macro to get the size of an array (the element amount).

#define LINGDEFS_H 1

#define TRUE (!FALSE)

## Typedef Documentation

lingbool

| This is a special defined boolean value, which can return TRUE and FALSE (and should only be used with those both types!).

lingchar

| This is an unsigned char to hold UTF-8 encoded characters.

typedef struct _lingLesson lingLesson

typedef struct _lingMeaning lingMeaning

typedef unsigned int luint