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]
Macros | Functions
pufftest.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "puff.h"

Go to the source code of this file.

Macros

#define SET_BINARY_MODE(file)
 
#define local   static
 

Functions

local size_t bythirds (size_t size)
 
local voidload (const char *name, size_t *len)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ local

#define local   static

Definition at line 31 of file pufftest.c.

◆ SET_BINARY_MODE

#define SET_BINARY_MODE (   file)

Definition at line 28 of file pufftest.c.

Referenced by main().

Function Documentation

◆ bythirds()

local size_t bythirds ( size_t  size)

Definition at line 37 of file pufftest.c.

Referenced by load().

◆ load()

local void* load ( const char *  name,
size_t *  len 
)

Definition at line 60 of file pufftest.c.

References bythirds(), free(), malloc(), and NULL.

Referenced by vl::VirtualFile::endOfFile(), main(), and TT_Load_Simple_Glyph().

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 88 of file pufftest.c.

References arg, free(), load(), long(), malloc(), NIL, NULL, puff(), SET_BINARY_MODE, and skip().