Includes type information for the dxcut library. More...
Go to the source code of this file.
Classes | |
struct | ref_str |
struct | ref_strstr |
Typedefs | |
typedef long long int | dx_long |
typedef unsigned long long int | dx_ulong |
typedef int | dx_int |
typedef unsigned int | dx_uint |
typedef short | dx_short |
typedef unsigned short | dx_ushort |
typedef char | dx_byte |
typedef unsigned char | dx_ubyte |
Functions | |
ref_str * | dxc_induct_str (const char *s) |
Copies the string pointed to s and creates a ref_str with the reference count set to 1. | |
ref_str * | dxc_copy_str (ref_str *s) |
Returns a copy of the ref_str s. | |
void | dxc_free_str (ref_str *s) |
Decrements the reference count on s and deletes s if the reference count has gone to 0. | |
ref_strstr * | dxc_create_strstr (dx_uint sz) |
Creates a list of sz ref_str* each initialized to NULL. Initializes the reference count to 1. | |
ref_strstr * | dxc_copy_strstr (ref_strstr *s) |
Returns a copy of the ref_strstr s. | |
void | dxc_free_strstr (ref_strstr *s) |
Decrements the reference coutn on s and deletes s if the reference count has gone to 0. |
Includes type information for the dxcut library.
Returns a copy of the ref_str s.
What this really does is simply increment the reference count on s and returns s.
ref_strstr * dxc_copy_strstr | ( | ref_strstr * | s | ) |
Returns a copy of the ref_strstr s.
What this really does is simply incrementthe reference count on s and returns s.