We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ea4b6 commit b94fb18Copy full SHA for b94fb18
src/lib.rs
@@ -301,7 +301,7 @@ pub struct Api {
301
/// (if any), or from the top of Region 0 (although this reduces the maximum
302
/// application space available). The OS will prefer lower numbered regions
303
/// (other than Region 0), so faster memory should be listed first.
304
- pub memory_get_region: extern "C" fn(region_index: u8) -> crate::Result<types::MemoryRegion>,
+ pub memory_get_region: extern "C" fn(region_index: u8) -> crate::Option<types::MemoryRegion>,
305
306
// ========================================================================
307
// Human Interface Device Support
0 commit comments