Defines
jinclude.h File Reference
#include "jconfig.h"
#include <stddef.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for jinclude.h:

Go to the source code of this file.

Defines

#define JCONFIG_INCLUDED   /* so that jpeglib.h doesn't do it again */
#define JFREAD(file, buf, sizeofbuf)   ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
#define JFWRITE(file, buf, sizeofbuf)   ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
#define MEMCOPY(dest, src, size)   memcpy((void *)(dest), (const void *)(src), (size_t)(size))
#define MEMZERO(target, size)   memset((void *)(target), 0, (size_t)(size))
#define SIZEOF(object)   ((size_t) sizeof(object))

Define Documentation

#define JCONFIG_INCLUDED   /* so that jpeglib.h doesn't do it again */

Definition at line 21 of file jinclude.h.

#define JFREAD (   file,
  buf,
  sizeofbuf 
)    ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

Definition at line 88 of file jinclude.h.

#define JFWRITE (   file,
  buf,
  sizeofbuf 
)    ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

Definition at line 90 of file jinclude.h.

#define MEMCOPY (   dest,
  src,
  size 
)    memcpy((void *)(dest), (const void *)(src), (size_t)(size))

Definition at line 68 of file jinclude.h.

#define MEMZERO (   target,
  size 
)    memset((void *)(target), 0, (size_t)(size))

Definition at line 67 of file jinclude.h.

#define SIZEOF (   object)    ((size_t) sizeof(object))

Definition at line 80 of file jinclude.h.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Apr 11 2019 03:30:20