~laumann/hadb

af60fd9d8752a51f8110586b3248eb0be3138e8b — Thomas Bracht Laumann Jespersen 4 months ago e1ad9d6
format/dwarf: move {u|s}leb128 types to types.ha
2 files changed, 6 insertions(+), 6 deletions(-)

M format/dwarf/decode.ha
M format/dwarf/types.ha
M format/dwarf/decode.ha => format/dwarf/decode.ha +0 -6
@@ 4,12 4,6 @@ use memio;
use endian;
use strings;

// unsigned LEB128
export type uleb128 = uint;

// signed LEB128
export type sleb128 = int;

export fn newdecoder(
	src: io::handle,
	opcode_base: u8,

M format/dwarf/types.ha => format/dwarf/types.ha +6 -0
@@ 1,5 1,11 @@
use io;

// unsigned LEB128
export type uleb128 = uint;

// signed LEB128
export type sleb128 = int;

// Errors

// Unexpected EOF