Commit graph

15 commits

Author SHA1 Message Date
Philip Chimento
9f982e5c95 Mark strings as const when they underlie streams
In the family of functions that create a text stream from a string (e.g.,
Streams::open_from_ISO_string, Str::new_from_ISO_string) we can mark the
input string as const since it is not supposed to be modified.

I ran into this when experimenting with trying to create a text stream
from the output of "getenv" which is "const char *". I ended up not
needing that, but this seems like a good change nonetheless.
2022-04-13 22:51:33 -07:00
Graham Nelson
59d3e6beb9 Minor speed optimisations following profiling of inform7 2022-03-23 23:02:07 +00:00
Graham Nelson
f720db9559 Added error message for unlocated C functions 2021-04-25 09:52:39 +01:00
Graham Nelson
cf069124de Minor improvements 2021-02-20 15:24:41 +00:00
Graham Nelson
2a5b282143 Further work on wchar_t portability 2020-07-08 15:58:20 +01:00
Graham Nelson
14048ead24 More care over wchar_t and snprintf 2020-07-05 10:35:31 +01:00
Graham Nelson
09ed827b30 Migrated to clang 11 2020-06-27 23:03:14 +01:00
Graham Nelson
cbc5f58cc6 Tidied up object creation 2020-05-09 13:05:00 +01:00
Graham Nelson
5cdb0cbb36 Refactored the weaver considerably 2020-04-20 23:26:08 +01:00
Graham Nelson
f2a1c0019e Clarified indexing engine 2020-04-13 23:30:42 +01:00
Graham Nelson
9d1c0173b8 Cross-references 2020-04-09 18:32:37 +01:00
Graham Nelson
22e2111f91 Improved syntax-colouring of weave 2020-04-07 23:04:32 +01:00
Graham Nelson
37b01a8d89 Largely completed baseline version of ILDF 2020-04-06 19:24:56 +01:00
Graham Nelson
b0db262c91 Defended string copy from copying a string to itself 2019-11-04 00:13:12 +00:00
Graham Nelson
d57a1dc13f Initial commit 2019-02-04 22:26:45 +00:00