Derive-C
Loading...
Searching...
No Matches
unit.h File Reference

Go to the source code of this file.

Functions

 DC_ZERO_SIZED (dc_unit)
static DC_PUBLIC dc_unit dc_unit_new ()
static DC_PUBLIC dc_unit dc_unit_clone (dc_unit const *self)
static DC_PUBLIC void dc_unit_debug (dc_unit const *, dc_debug_fmt, FILE *stream)
static DC_PUBLIC void dc_unit_delete (dc_unit *)

Function Documentation

◆ dc_unit_clone()

DC_PUBLIC dc_unit dc_unit_clone ( dc_unit const * self)
static

Definition at line 11 of file unit.h.

11{ return *self; }

◆ dc_unit_debug()

DC_PUBLIC void dc_unit_debug ( dc_unit const * ,
dc_debug_fmt ,
FILE * stream )
static

Definition at line 13 of file unit.h.

14 {
15 fprintf(stream, "[UNIT]");
16}
static DC_PUBLIC FILE * stream(SELF *self)
Definition template.h:108

◆ dc_unit_delete()

DC_PUBLIC void dc_unit_delete ( dc_unit * )
static

Definition at line 18 of file unit.h.

18{}

◆ dc_unit_new()

DC_PUBLIC dc_unit dc_unit_new ( )
static

Definition at line 9 of file unit.h.

9{ return (dc_unit){}; }

◆ DC_ZERO_SIZED()

DC_ZERO_SIZED ( dc_unit )