xtd_c - Reference Guide 0.2.0
object.h File Reference
#include "errors.h"
#include "types.h"

Definition

Contains object definitions.

Go to the source code of this file.

Data Structures

struct  xtd_object
 Represent an instance of the ultimate base object. More...
 

Converter

#define XTD_OBJECT(object)   (XTD_TYPE_CAST(object, XTD_OBJECT_TYPE, xtd_object))
 Convert an xtd object to ultimate base object. More...
 

Creation/Destruction

xtd_objectxtd_object_create (void)
 Create a new instance of the ultimate base object. More...
 
void xtd_object_destroy (xtd_object *value)
 Destroy the instance of the specfied object. More...
 

Methods

const char * xtd_object_to_string (const xtd_object *value)
 Returns a string that represents the specified object. More...
 
size_t xtd_object_to_string_s (const xtd_object *value, char *string, size_t size)
 Returns a string that represents the specified object. More...