Main Page   File List   File Members  

variable.c File Reference

#include <stdio.h>
#include <gtk/gtk.h>
#include "variable.h"
#include "debug.h"

Functions

s_variable * var_alloc (gchar *name)
void var_free_from_list (gpointer myvar, gpointer nil)
gint var_comparison (gconstpointer myvar, gconstpointer name)

Detailed Description

Author:
Guillaume Bour. 2002
Version:
0.1
Date:
05/02/2002
Version:
0.2
Date:
28/02/2002 - object structuring
variables management


Function Documentation

struct s_variable* var_alloc gchar *    name
 

Variable allocation.

visibility :: public

Remarks:
1. the default variable type is T_NONE
Parameters:
name  the variable name
Returns:
the allocated variable

gint var_comparison gconstpointer    myvar,
gconstpointer    name
 

Variable comparison.

visibility :: public

Parameters:
myvar  the variable
name  the searched variable name
Returns:
0 is the variable myvar is named name, not 0 else.

void var_free_from_list gpointer    myvar,
gpointer    nil
 

Variable freeing.

visibility :: public

Remarks:
1. the second argument is not used (just for GTK compatibility)
Parameters:
myvar  the variable to free
nil  not used
Returns:
<none>


Generated on Tue Aug 6 13:21:20 2002 for lafontaine by doxygen1.2.15