Nigel Tao
|
3b57548b0d
|
Generate C code for a non-trivial slice-of-slice.
|
2017-09-29 17:07:41 +10:00 |
|
Nigel Tao
|
f1643be221
|
Have copy_from return the number of bytes copied.
|
2017-09-28 17:27:34 +10:00 |
|
Nigel Tao
|
a9bdeee7c1
|
Generate C code for a[i:j] with explicit i or j.
|
2017-09-28 15:57:25 +10:00 |
|
Nigel Tao
|
d5c8e20268
|
Have writer1.slice take mark arguments.
|
2017-09-23 13:57:48 +10:00 |
|
Nigel Tao
|
7aaa6f6222
|
Remove obsolete optimization TODO.
Modern compilers already optimize functions like puffs_base_load_u32le:
https://godbolt.org/g/uZ9xNa (clang)
https://godbolt.org/g/q5amWw (gcc)
|
2017-09-23 11:03:51 +10:00 |
|
Nigel Tao
|
1a28112ebd
|
In copy_from, don't call memmove with NULLs.
|
2017-09-23 11:00:23 +10:00 |
|
Nigel Tao
|
f107ec155d
|
Rename puffs_u16be to puffs_base_load_u16be.
|
2017-09-23 09:29:45 +10:00 |
|
Nigel Tao
|
ed8a91ef51
|
Add an array.copy_from method.
|
2017-09-22 16:32:11 +10:00 |
|
Nigel Tao
|
b14bafa717
|
Make puffs_u16be etc functions, not macros.
|
2017-09-22 14:41:08 +10:00 |
|
Nigel Tao
|
2fb9972bb9
|
Add a slice.suffix method.
|
2017-09-22 14:12:54 +10:00 |
|
Nigel Tao
|
fda696bf95
|
Add PUFFS_IGNORE_POTENTIALLY_UNUSED_VARIABLE.
|
2017-09-22 12:00:14 +10:00 |
|
Nigel Tao
|
fdddcc8e1d
|
Merge multiple puffs-xxx-c binaries into one.
|
2017-08-24 09:43:57 +10:00 |
|