infix
A JIT-Powered FFI Library for C
Loading...
Searching...
No Matches
Vector4 Struct Reference

A struct containing a fixed-size array of floats. More...

#include <types.h>

Public Attributes

float v [4]
 

Detailed Description

A struct containing a fixed-size array of floats.

This is a textbook example of a Homogeneous Floating-point Aggregate (HFA) on the AArch64 ABI, where it should be passed in four consecutive floating-point registers (v0-v3). It also serves to test structs that contain arrays on other platforms.

Member Data Documentation

◆ v

float Vector4::v[4]

The documentation for this struct was generated from the following file: