Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Functions
zutil.c File Reference
#include "zutil.h"

Go to the source code of this file.

Functions

void exit OF ((int))
 
void zmemcpy (Bytef *dest, const Bytef *source, uInt len)
 
int zmemcmp (Bytef *s1, const Bytef *s2, uInt len) const
 
void zmemzero (Bytef *dest, uInt len)
 
voidp ft_scalloc OF ((uInt items, uInt size))
 
void ft_sfree OF ((voidpf ptr))
 
voidpf zcalloc (voidpf opaque, unsigned items, unsigned size)
 
void zcfree (voidpf opaque, voidpf ptr)
 

Function Documentation

◆ OF() [1/3]

void exit OF ( (int )

Referenced by zmemzero().

◆ OF() [2/3]

voidp ft_scalloc OF ( (uInt items, uInt size )

◆ OF() [3/3]

void ft_sfree OF ( (voidpf ptr )

◆ zcalloc()

voidpf zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 
)

Definition at line 164 of file zutil.c.

References ft_scalloc.

Referenced by deflateInit2_(), inflateInit2_(), ZEXPORT(), and zmemzero().

◆ zcfree()

void zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 173 of file zutil.c.

References ft_sfree.

Referenced by deflateInit2_(), inflateInit2_(), ZEXPORT(), and zmemzero().

◆ zmemcmp()

int zmemcmp ( Bytef s1,
const Bytef s2,
uInt  len 
) const

Definition at line 28 of file zutil.c.

◆ zmemcpy()

void zmemcpy ( Bytef dest,
const Bytef source,
uInt  len 
)

◆ zmemzero()

void zmemzero ( Bytef dest,
uInt  len 
)

Definition at line 41 of file zutil.c.

References Assert, ft_scalloc, ft_sfree, local, NULL, OF(), ptr, zcalloc(), and zcfree().

Referenced by fill_window().