Back to index

plt-scheme  4.2.1
Functions
Image.c File Reference
#include "xpmP.h"

Go to the source code of this file.

Functions

void xpmInitXpmImage (XpmImage *image)
void XpmFreeXpmImage (XpmImage *image)

Function Documentation

Definition at line 53 of file Image.c.

{
    if (image->colorTable)
       xpmFreeColorTable(image->colorTable, image->ncolors);
    XpmFree(image->data);
    image->data = NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 41 of file Image.c.

{
    image->ncolors = 0;
    image->colorTable = NULL;
    image->data = NULL;
}

Here is the caller graph for this function: