ReactOS  0.4.14-dev-50-g13bb5e2
icy.c File Reference
#include "intsym.h"
#include "icy.h"
Include dependency graph for icy.c:

Go to the source code of this file.

Functions

void init_icy (struct icy_meta *icy)
 
void clear_icy (struct icy_meta *icy)
 
void reset_icy (struct icy_meta *icy)
 

Function Documentation

◆ clear_icy()

void clear_icy ( struct icy_meta icy)

Definition at line 18 of file icy.c.

19 {
20  if(icy->data != NULL) free(icy->data);
21  init_icy(icy);
22 }
#define free
Definition: debug_ros.c:5
char * data
Definition: icy.h:18
smooth NULL
Definition: ftsmooth.c:416
void init_icy(struct icy_meta *icy)
Definition: icy.c:13

Referenced by reset_icy().

◆ init_icy()

void init_icy ( struct icy_meta icy)

Definition at line 13 of file icy.c.

14 {
15  icy->data = NULL;
16 }
char * data
Definition: icy.h:18
smooth NULL
Definition: ftsmooth.c:416

Referenced by clear_icy(), and reset_icy().

◆ reset_icy()

void reset_icy ( struct icy_meta icy)

Definition at line 24 of file icy.c.

25 {
26  clear_icy(icy);
27  init_icy(icy);
28 }
void init_icy(struct icy_meta *icy)
Definition: icy.c:13
void clear_icy(struct icy_meta *icy)
Definition: icy.c:18