Generic object class.
More...
#include <stddef.h>
#include <assert.h>
#include "hbbtv_js.h"
Go to the source code of this file.
|
#define | JS_CHECK_OBJECT(o, c) |
|
#define | JS_INC_OBJ_REF(o) (o == NULL) ? HBBTV_JSObject_DbgNull(__FILE__, __LINE__) : HBBTV_JSObject_incref(o) |
|
#define | HBBTV_UNUSED_OBJ(x) if (x) {} |
|
Generic object class.
- Date
- 01/01/2013
- Author
- Adam Sturtridge
#define JS_CHECK_OBJECT |
( |
|
o, |
|
|
|
c |
|
) |
| |
Value:assert(((o) != NULL) && \
Initialise an object.
- Parameters
-
obj | - the object to initialise |
vtab | - the object's virtual function table |