Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ArenaNew (0.08 sec)

  1. src/reflect/arena.go

    //go:build goexperiment.arenas
    
    package reflect
    
    import "arena"
    
    // ArenaNew returns a [Value] representing a pointer to a new zero value for the
    // specified type, allocating storage for it in the provided arena. That is,
    // the returned Value's Type is [PointerTo](typ).
    func ArenaNew(a *arena.Arena, typ Type) Value {
    	return ValueOf(arena_New(a, PointerTo(typ)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:20:05 UTC 2024
    - 574 bytes
    - Viewed (0)
Back to top