projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doxygen用にコメント修正。関数のstatic指定を外す
[YACASL2.git]
/
src
/
struct.c
diff --git
a/src/struct.c
b/src/struct.c
index
9e3d256
..
58a3585
100644
(file)
--- a/
src/struct.c
+++ b/
src/struct.c
@@
-1,12
+1,19
@@
-#include "casl2.h"
+#include "struct.h"
+#include "cmem.h"
-/* COMET IIの仮装実行マシンシステム */
+/**
+ * COMET IIの仮装実行マシンシステム
+ */
SYSTEM *sys;
SYSTEM *sys;
-/* CASL IIプログラムのプロパティ */
+/**
+ * CASL IIプログラムのプロパティ
+ */
PROGPROP *prog;
PROGPROP *prog;
-/* COMET II仮想マシンのリセット */
+/**
+ * COMET II仮想マシンのリセット
+ */
void reset(int memsize, int clocks)
{
int i;
void reset(int memsize, int clocks)
{
int i;
@@
-28,7
+35,9
@@
void reset(int memsize, int clocks)
prog = malloc_chk(sizeof(PROGPROP), "prog");
}
prog = malloc_chk(sizeof(PROGPROP), "prog");
}
-/* COMET II仮想マシンのシャットダウン */
+/**
+ * COMET II仮想マシンのシャットダウン
+ */
void shutdown()
{
free_chk(prog, "prog");
void shutdown()
{
free_chk(prog, "prog");