Assignments Assignments

Macros
jinclude.h File Reference
`#include "jconfig.h"`
`#include <stddef.h>`
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <string.h>`

Go to the source code of this file.

## Macros
#define | JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */
#define | MEMZERO(target, size)
#define | MEMCOPY(dest, src, size)
#define | SIZEOF(object)
#define | JFREAD(file, buf, sizeofbuf)
#define | JFWRITE(file, buf, sizeofbuf)

## Macro Definition Documentation

## ◆ JCONFIG_INCLUDED

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

## ◆ JFREAD

#define JFREAD | ( |  | file,
|  |  | buf,
|  |  | sizeofbuf )

Value:
((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

## ◆ JFWRITE

#define JFWRITE | ( |  | file,
|  |  | buf,
|  |  | sizeofbuf )

Value:
((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))

## ◆ MEMCOPY

#define MEMCOPY | ( |  | dest,
|  |  | src,
|  |  | size )

Value:
memcpy((void *)(dest), (const void *)(src), (size_t)(size))

## ◆ MEMZERO

#define MEMZERO | ( |  | target,
|  |  | size )

Value:
memset((void *)(target), 0, (size_t)(size))

## ◆ SIZEOF

#define SIZEOF | ( |  | object | ) |

Value:
((size_t) sizeof(object))
object
void * object
Definition jmemsys.h:48