PatchworkOS
Loading...
Searching...
No Matches
aml_package_obj_t Struct Reference

Data for a package object. More...

#include <object.h>

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 336 of file object.h.

Field Documentation

◆ AML_OBJECT_COMMON_HEADER

aml_package_obj_t::AML_OBJECT_COMMON_HEADER

Definition at line 338 of file object.h.

◆ elements

◆ length

◆ smallElements

aml_object_t* aml_package_obj_t::smallElements[AML_SMALL_PACKAGE_SIZE]

Used for small object optimization.

Definition at line 341 of file object.h.


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