userspace/memory/
result.rs

1ample::result!(
2    Ok;
3    "Allocate Ok";
4    usize;
5    [
6        [1; USERSPACE_MEMORY_DEFAULT_OK; Default; usize; "ZE"; "Entry to ze"],
7        [3; USERSPACE_MEMORY_HEAP_ALLOCATE_DEFAULT_OK; HeapAllocate; super::heap::AllocatorPointer; "ZE"; "Entry to ze"],
8    ];
9    Error;
10    "Allocate Ok";
11    usize;
12    [
13        [1; USERSPACE_MEMORY_DEFAULT_ERROR; Default; usize; "ZE"; "Entry to ze"],
14        [3; USERSPACE_MEMORY_ALLOCATE_DEFAULT_ERROR; HeapAllocate; super::heap::AllocatorPointer; "ZE"; "Entry to ze"],
15    ]
16);