### struct_reg_return

Controls how small structs are returned from a function.

##### Syntax

#pragma struct_reg_return on | off | reset

##### Targets

Intel x86

##### Remarks

structs are returned as follows:

- on – structs of size 1, 2, 4, or 8-bytes are returned in registers AL, AX, EAX, or EDX:EAX respectively
- off – always returns structs on the stack in space allocated by the caller

The default setting is on.