1.1 --- a/lib/native/str.py Fri Mar 31 23:26:47 2017 +0200
1.2 +++ b/lib/native/str.py Fri Mar 31 23:27:55 2017 +0200
1.3 @@ -24,14 +24,14 @@
1.4 this program. If not, see <http://www.gnu.org/licenses/>.
1.5 """
1.6
1.7 -# String operations.
1.8 +# NOTE: Example values used to provide type information.
1.9
1.10 -def str_add(data, other_data, size, other_size): pass
1.11 -def str_chr(data): pass
1.12 -def str_eq(data, other_data): pass
1.13 -def str_gt(data, other_data): pass
1.14 -def str_lt(data, other_data): pass
1.15 -def str_ord(data): pass
1.16 -def str_substr(data, start, end, step): pass
1.17 +def str_add(data, other_data, size, other_size): return ""
1.18 +def str_chr(data): return ""
1.19 +def str_eq(data, other_data): return True or False
1.20 +def str_gt(data, other_data): return True or False
1.21 +def str_lt(data, other_data): return True or False
1.22 +def str_ord(data): return 0
1.23 +def str_substr(data, start, end, step): return ""
1.24
1.25 # vim: tabstop=4 expandtab shiftwidth=4