2 actiondesc.h - stack for all actions on one word
4 Copyright (C) 2004, 2005, Christian Thaeter <chth@gmx.net>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License version 2 as
8 published by the Free Software Foundation.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, contact me.
20 #ifndef MALA_ACTIONDESC_H
21 #define MALA_ACTIONDESC_H
23 #include "mala_types.h"
24 //#include "strings.h"
26 struct mala_actiondesc_struct
29 mala_actionstack actions
;
34 mala_actiondesc_new (MalaString name
);
37 mala_actiondesc_free (MalaActionDesc self
);
40 mala_actiondesc_ensure (MalaString str
);
43 mala_actiondesc_push_action (MalaActionDesc self
, MalaAction action
);
46 mala_actiondesc_pop (MalaActionDesc self
);
49 mala_actiondesc_top (MalaActionDesc self
);
52 #endif /* MALA_ACTIONDESC_H */
57 // c-file-style: "gnu"
59 // arch-tag: bee89bcc-2e05-4d0a-bee4-605b79225a32