1version: 0x00000002 2root_id: 0x84ea5130 # interface 3primitive { 4 id: 0x2d2f93e0 5 name: "u8" 6 encoding: UNSIGNED_INTEGER 7 bytesize: 0x00000001 8} 9primitive { 10 id: 0xd4bacb77 11 name: "u32" 12 encoding: UNSIGNED_INTEGER 13 bytesize: 0x00000004 14} 15enumeration { 16 id: 0x96f0eeaf 17 name: "methods::Foo" 18 definition { 19 underlying_type_id: 0x2d2f93e0 # u8 20 enumerator { 21 name: "Zero" 22 } 23 enumerator { 24 name: "One" 25 value: 1 26 } 27 enumerator { 28 name: "Two" 29 value: 2 30 } 31 enumerator { 32 name: "Three" 33 value: 3 34 } 35 } 36} 37function { 38 id: 0x8d8230ce 39 return_type_id: 0xd4bacb77 # u32 40 parameter_id: 0x96f0eeaf # enum methods::Foo 41} 42elf_symbol { 43 id: 0x14be2940 44 name: "Foo__to_u32" 45 is_defined: true 46 symbol_type: FUNCTION 47 type_id: 0x8d8230ce # u32(enum methods::Foo) 48 full_name: "methods::to_u32" 49} 50interface { 51 id: 0x84ea5130 52 symbol_id: 0x14be2940 # u32 methods::to_u32(enum methods::Foo) 53} 54