Imported Upstream version 0.1beta
[debian/yforth] / string.h
1 /* yForth? - Written by Luca Padovani (C) 1996/97
2  * ------------------------------------------------------------------------
3  * This software is FreeWare as long as it comes with this header in each
4  * source file, anyway you can use it or any part of it whatever
5  * you want. It comes without any warranty, so use it at your own risk.
6  * ------------------------------------------------------------------------
7  * Module name:
8  * Abstract:
9  */
10
11 #ifdef DECLARE_WORDS
12 #       ifdef PROTOTYPES
13 #               undef PROTOTYPES
14 #       endif
15 #       undef __STRING_H__
16 #else
17 #       ifndef PROTOTYPES
18 #               define PROTOTYPES
19 #       endif
20 #endif
21
22 #ifndef __STRING_H__
23 #define __STRING_H__
24
25 #include "yforth.h"
26 #include "macro.h"
27
28 /**************************************************************************/
29 /* PROTOTYPES *************************************************************/
30 /**************************************************************************/
31
32 code(dash_trailing,                                     "-trailing",                    0)
33 code(slash_string,                                      "/string",                              0)
34 code(blank,                                                     "blank",                                0)
35 code(c_move,                                            "cmove",                                0)
36 code(c_move_up,                                         "cmove>",                               0)
37 code(compare,                                           "compare",                              0)
38 code(search,                                            "search",                               0)
39 code(s_literal,                                         "sliteral",                             COMP_ONLY | IMMEDIATE)
40
41 #ifdef PROTOTYPES
42
43 #endif
44
45 #endif