Sami Vaarala
96d301b3cb
Rename src/ to src-input/ to match dist
With this change the directory naming in the main repo and dist is the same.
8 years ago
Sami Vaarala
d87f82866b
Add string hash replacement candidates
Use a string skipping approach similar to Lua 5.1, and try a few byte based
string hash algorithms to see what works best in practice.
10 years ago
Sami Vaarala
bf1304c4bc
Fixes for -Wcast-qual, const/volatile casts
Also one -Wcast-align fix (for clang).
9 years ago
Sami Vaarala
82b8ba3f80
Fix -Wcast-align issues in codebase
Cast through "void *" when casting from e.g. a duk_uint8_t pointer
to a pointer with more alignment requirements (such as a struct pointer).
This is probably the best fix for cases where one also needs to do
pointer arithmetic (for which a char pointer is preferable). In cases
where pointer arithmetic is not necessarily, the original pointer could
in some cases be changed from a char pointer to a void pointer.
9 years ago
Sami Vaarala
781fc8e19d
Add a few casts to fix GH-177
10 years ago
Sami Vaarala
ec62b01018
Non-leading tab fixes
10 years ago
Sami Vaarala
4586688185
Add some missing "const" specifiers for strings
10 years ago
Sami Vaarala
1fa66cd25a
Symbol visibility changes for code and headers
10 years ago
Sami Vaarala
f5ee49d713
Fix trailing newline offenders in src
10 years ago
Sami Vaarala
a98f08b66f
internal macro renames, XXX -> DUK__XXX
11 years ago
Sami Vaarala
9fa1ec592d
clean up #define, #undef, #ifdef etc to have a single space after the directive
11 years ago
Sami Vaarala
11ae874efd
C typing fixes
11 years ago
Sami Vaarala
884045b1d1
typedef C99 'wrapper' types like duk_uint32_t; bulk replacement of duk_u32 with duk_uint32_t, and other type usage replacements
11 years ago
Sami Vaarala
330d7966ea
misc utility functions
12 years ago