Defines | Functions
common.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
Include dependency graph for common.h:

Go to the source code of this file.

Defines

#define _64_BIT_VALUE_FITS_SIGNED_P(value)   ( (value) <= 0x7FFFFFFFFFFFFFFFLL )
#define indirect_stringify(x)   stringify(x)
#define offsetof(type, slot)   ((long) ((char *) &(((type *) 0)->slot)))
#define sizeofslot(type, slot)   (sizeof(((type *) 0)->slot))
#define stringify(x)   #x
#define TYPE_SIGNED_P(type)   (((type)-1)<0LL)

Functions

char * print_double_for_lisp (double n)
void type_name (FILE *output, int signed_p, int size)

Define Documentation

#define _64_BIT_VALUE_FITS_SIGNED_P (   value)    ( (value) <= 0x7FFFFFFFFFFFFFFFLL )

Definition at line 14 of file common.h.

#define indirect_stringify (   x)    stringify(x)

Definition at line 11 of file common.h.

#define offsetof (   type,
  slot 
)    ((long) ((char *) &(((type *) 0)->slot)))

Definition at line 7 of file common.h.

#define sizeofslot (   type,
  slot 
)    (sizeof(((type *) 0)->slot))

Definition at line 9 of file common.h.

#define stringify (   x)    #x

Definition at line 10 of file common.h.

#define TYPE_SIGNED_P (   type)    (((type)-1)<0LL)

Definition at line 13 of file common.h.


Function Documentation

char* print_double_for_lisp ( double  n)

Definition at line 41 of file common.h.

void type_name ( FILE *  output,
int  signed_p,
int  size 
)

Definition at line 16 of file common.h.



cffi
Author(s): James Bielman
autogenerated on Fri Aug 28 2015 10:25:27