X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=storage.h;h=896c264459fe78efc4dae5f4a45040615f6a7368;hb=f9ee932b62fcaa73bf092537ae212e6ab9cd7285;hp=3a6ef86a5e4a4e36c3a3e7f59d28a663702dcfc7;hpb=a24bd5195f9990159a974c98751f1473f29b9fa4;p=calc.git diff --git a/storage.h b/storage.h index 3a6ef86..896c264 100644 --- a/storage.h +++ b/storage.h @@ -1,19 +1,19 @@ #ifndef __STORAGE_H__ #define __STORAGE_H__ -/* global variables */ +#include "tabular.h" -extern double *storage; +/* global variables */ -extern int storage_size; +extern tab_t *storage; /* storage functions */ -void memory (int nb); -double store (int index, double value); -double recall (int index); -double increase (int index); -double decrease (int index); +int memory (int nb); +double store (int id, double value); +double recall (int id); +double increase (int id); +double decrease (int id); void display (void); void clear ();