NEWPATCH

Section: C Library Functions (3V)
Updated: 14 July 1991
Index Return to Main Contents
 

NAME

NewPatch - Allocates a patch data structure  

SYNOPSIS

#include <patch.h>

PatchPtr NewPatch()
 

DESCRIPTION

NewPatch() allocates the data structure used by the routines in the patch library. This routine must be called before a patch can be defined with DefPatch(3V).  

RETURN VALUE

If allocation was successfully performed, a pointer is returned. If the allocation cannot be carried out, NULL is returned.  

SEE ALSO

DefPatch(3V), IsectPatch(3V), NormalPatch(3V), FreePatch(3V)  

AUTHOR

Sean Graves


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 23:51:33 GMT, February 10, 2023