Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-01 | treewide: fix typo in exported function names and types | Jo-Philipp Wich | |
Fix instances of misspelled "resource". This commit breaks the exported libucode ABI. Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2021-11-01 | struct: fix PowerPC specific compiler pragma name | Jo-Philipp Wich | |
The "align" pragma was accidentally renamed while refactoring the original module code. Fixes: 402f603 ("lib: introduce struct library") Signed-off-by: Jo-Philipp Wich <jo@mein.io> | |||
2021-10-31 | lib: introduce struct library | Jo-Philipp Wich | |
Introduce a new "struct" library which is a port of the Python 3.10 struct module with a reduced set of API functions. It supports the same format patterns and conversions while providing the following methods: struct = require('struct'); buf = struct.pack("fmt", args...); values = struct.unpack("fmt", buf); struct_inst = struct.new("fmt"); buf = struct_inst.pack(args...); values = struct_inst.unpack(buf); Signed-off-by: Jo-Philipp Wich <jo@mein.io> |