offbrand
A collection of generic, reference counted datastructures in C for C
 All Classes Files Functions Variables Typedefs Macros Groups
Typedefs | Functions
obtest.h File Reference

obtest Public Interface More...

#include "offbrand.h"

Go to the source code of this file.

Typedefs

typedef struct obtest_struct obtest
 

Functions

obtestobtest_new (uint32_t id)
 Constructor, creates an instance of obtest with a specified id. More...
 
uint32_t obtest_id (obtest *a)
 Returns the id of an obtest instance. More...
 

Detailed Description

obtest Public Interface

Author
theck

Typedef Documentation

typedef struct obtest_struct obtest

Class type declaration

Function Documentation

uint32_t obtest_id ( obtest a)

Returns the id of an obtest instance.

Parameters
aPointer to an instance of obtest
Returns
id value of the obtest argument
obtest* obtest_new ( uint32_t  id)

Constructor, creates an instance of obtest with a specified id.

Parameters
idInteger id for the created obtest
Returns
Instance of obtest with id as given by parameter