GNU PROLOG with UTF8 support
Macros | Typedefs
pl_long.h File Reference
#include <stdint.h>
#include "gp_config.h"
Include dependency graph for pl_long.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __PL_FMT_PREFIX   "l"
 
#define PL_FMT_d   __PL_FMT_PREFIX "d"
 
#define PL_FMT_u   __PL_FMT_PREFIX "u"
 
#define PL_FMT_o   __PL_FMT_PREFIX "o"
 
#define PL_FMT_x   __PL_FMT_PREFIX "x"
 
#define __FMT64_PREFIX   "ll"
 
#define FMT64_d   __FMT64_PREFIX "d"
 
#define FMT64_u   __FMT64_PREFIX "u"
 
#define FMT64_o   __FMT64_PREFIX "o"
 
#define FMT64_x   __FMT64_PREFIX "x"
 
#define Str_To_PlLong(__str, __end, __base)   strtol (__str, __end, __base)
 
#define Str_To_PlULong(__str, __end, __base)   strtoul(__str, __end, __base)
 

Typedefs

typedef intptr_t PlLong
 
typedef uintptr_t PlULong
 

Macro Definition Documentation

#define __FMT64_PREFIX   "ll"
#define __PL_FMT_PREFIX   "l"
#define FMT64_d   __FMT64_PREFIX "d"
#define FMT64_o   __FMT64_PREFIX "o"
#define FMT64_u   __FMT64_PREFIX "u"
#define FMT64_x   __FMT64_PREFIX "x"
#define PL_FMT_d   __PL_FMT_PREFIX "d"
#define PL_FMT_o   __PL_FMT_PREFIX "o"
#define PL_FMT_u   __PL_FMT_PREFIX "u"
#define PL_FMT_x   __PL_FMT_PREFIX "x"
#define Str_To_PlLong (   __str,
  __end,
  __base 
)    strtol (__str, __end, __base)
#define Str_To_PlULong (   __str,
  __end,
  __base 
)    strtoul(__str, __end, __base)

Typedef Documentation

typedef intptr_t PlLong
typedef uintptr_t PlULong