PatchworkOS  2ca1c69
A non-POSIX operating system.
Loading...
Searching...
No Matches
aml_package_t Struct Reference

Data for a package object. More...

#include <object.h>

Collaboration diagram for aml_package_t:

Data Fields

 AML_OBJECT_COMMON_HEADER
 
aml_object_t ** elements
 
uint64_t length
 
aml_object_tsmallElements [AML_SMALL_PACKAGE_SIZE]
 Used for small object optimization.
 

Detailed Description

Data for a package object.

Packages use an array to store the elements not a linked list since indexing is very common with packages.

Definition at line 358 of file object.h.

Field Documentation

◆ AML_OBJECT_COMMON_HEADER

aml_package_t::AML_OBJECT_COMMON_HEADER

Definition at line 360 of file object.h.

◆ elements

aml_object_t** aml_package_t::elements

Definition at line 361 of file object.h.

◆ length

uint64_t aml_package_t::length

Definition at line 362 of file object.h.

◆ smallElements

aml_object_t* aml_package_t::smallElements[AML_SMALL_PACKAGE_SIZE]

Used for small object optimization.

Definition at line 363 of file object.h.


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