PebbleOS
Loading...
Searching...
No Matches
Data Structures | Macros
mo.h File Reference
#include <pbl/kernel/compiler.h>

Data Structures

struct  MoHeader
 MO file header. More...
 
struct  MoEntry
 Entry of the original or translated strings table. More...
 
struct  Mo
 Loaded MO file. More...
 
struct  MoHandle
 Handle to a loaded MO file. More...
 

Macros

#define MO_MAGIC   0x950412de
 Magic number at the start of an MO file.
 
#define MO_GET_REV_MAJOR(r)   (((r) >> 16) & 0xFFFF)
 Get the major part of an MO file revision.
 
#define MO_GET_REV_MINOR(r)   ((r) & 0xFFFF)
 Get the minor part of an MO file revision.
 
#define MO_MAKE_REV(maj, min)   (((maj) << 16) | (min))
 Build an MO file revision.
 
#define LANG_PROP_NAME   "Language: "
 Header property holding the ISO locale of the language.