wisdom
Loading...
Searching...
No Matches
wis::FactoryExtQuery Struct Reference

Detailed Description

Struct used to query the extensions for C code. Queried results should not be freed, their lifetime ends with the Factory they were created with. If wis::FactoryExtQuery::extension_id is 0, wis::FactoryExtQuery::result must be populated with already created extension. Otherwise extension is ignored.

wis::FactoryExtID extension_id;
void* result;
};
FactoryExtID
Factory extension ID. Platform extension values start from 2049 0 is reserved as invalid/custom exten...
Definition api.hpp:1243
Struct used to query the extensions for C code. Queried results should not be freed,...
Definition api.hpp:2054

Definition at line 2054 of file api.hpp.

#include <api.hpp>

Public Attributes

wis::FactoryExtID extension_id
 Extension ID.
 
void * result
 Result of the query. Pointer is populated with the extension with queried ID. If the extension is not supported/failed to initialize the result is NULL.
 

Data Members

◆ extension_id

wis::FactoryExtID wis::FactoryExtQuery::extension_id

Extension ID.

Definition at line 2055 of file api.hpp.

◆ result

void* wis::FactoryExtQuery::result

Result of the query. Pointer is populated with the extension with queried ID. If the extension is not supported/failed to initialize the result is NULL.

Definition at line 2061 of file api.hpp.


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