wut  v1.7.0
Wii U Toolchain
Data Structures | Typedefs | Functions
Result

Result structure used by nn libraries (C++: see nn::Result) More...

Collaboration diagram for Result:

Data Structures

struct  NNResult
 Result structure for nn libraries. More...
 

Typedefs

typedef struct NNResult NNResult
 

Functions

static int NNResult_IsSuccess (NNResult result)
 Determine if a NNResult represents a successful state. More...
 
static int NNResult_IsFailure (NNResult result)
 Determine if a NNResult represents a failure. More...
 

Detailed Description

Result structure used by nn libraries (C++: see nn::Result)


Data Structure Documentation

◆ NNResult

struct NNResult

Result structure for nn libraries.

Definition at line 19 of file result.h.

Data Fields
int32_t value Aggregate value of result bitfield.

Typedef Documentation

◆ NNResult

typedef struct NNResult NNResult

Definition at line 1 of file result.h.

Function Documentation

◆ NNResult_IsSuccess()

static int NNResult_IsSuccess ( NNResult  result)
inlinestatic

Determine if a NNResult represents a successful state.

Parameters
resultThe NNResult to check.
Returns
1 if the NNResult represents a success, or 0 otherwise.
See also

Definition at line 37 of file result.h.

◆ NNResult_IsFailure()

static int NNResult_IsFailure ( NNResult  result)
inlinestatic

Determine if a NNResult represents a failure.

Parameters
resultThe NNResult to check.
Returns
1 if the NNResult represents a failure, or 0 otherwise.
See also

Definition at line 54 of file result.h.