Soft'N'Design Software
/
projects
/
calc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
partial recursivity 2
[calc.git]
/
storage.h
diff --git
a/storage.h
b/storage.h
index 3a6ef86a5e4a4e36c3a3e7f59d28a663702dcfc7..d538e7b84deaf54d58be9104551696582d64b643 100644
(file)
--- a/
storage.h
+++ b/
storage.h
@@
-1,19
+1,19
@@
#ifndef __STORAGE_H__
#define __STORAGE_H__
#ifndef __STORAGE_H__
#define __STORAGE_H__
-/* global variables */
+#include "tabular.h"
-extern double *storage;
+/* global variables */
-extern
int storage_siz
e;
+extern
tab_t *storag
e;
/* storage functions */
void memory (int nb);
/* storage functions */
void memory (int nb);
-double store (int i
ndex
, double value);
-double recall (int i
ndex
);
-double increase (int i
ndex
);
-double decrease (int i
ndex
);
+double store (int i
d
, double value);
+double recall (int i
d
);
+double increase (int i
d
);
+double decrease (int i
d
);
void display (void);
void clear ();
void display (void);
void clear ();