wavelength 1.0.0
Loading...
Searching...
No Matches
Data.h File Reference
#include <stddef.h>
#include <vector>
#include "utl/BinStream.h"
#include "utl/PrnStream.h"
Include dependency graph for Data.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DataArray
 Reference-counted array of script data nodes. More...
union  DataArray::DataNode
 One node. More...

Functions

DataArray * NewDataArray (int size)
 Create an array of integer zeroes, with one reference.
void DataMergeTags (DataArray *dest, DataArray *src)
 Merge the nested arrays of one array into another by their first node.

Function Documentation

◆ NewDataArray()

DataArray * NewDataArray ( int size)

Create an array of integer zeroes, with one reference.

Parameters
sizeThe number of nodes.
Returns
The array.
Ghidra address:
0x10012240

◆ DataMergeTags()

void DataMergeTags ( DataArray * dest,
DataArray * src )

Merge the nested arrays of one array into another by their first node.

A nested array of src whose tag dest lacks is appended to dest; one whose tag dest already has is merged into that array the same way. Other nodes of src are ignored.

Parameters
destThe array that receives the nested arrays.
srcThe array to merge, or null.
Ghidra address:
0x10012bc0