1
0
Fork 0
LithOS3/lithos_c/src/font.c

36 lines
766 B
C

//-----------------------------------------------------------------------------
//
// Copyright © 2016 Project Golan
//
// See "LICENSE" for more information.
//
//-----------------------------------------------------------------------------
//
// Font layout handling.
//
//-----------------------------------------------------------------------------
#include "Lth.h"
#include <stdlib.h>
//----------------------------------------------------------------------------|
// Extern Functions |
//
//
// Lth_FontNew
//
Lth_Font *Lth_FontNew(char const *name)
{
Lth_Font *font = calloc(1, sizeof(Lth_Font));
Lth_assert(font != NULL);
font->name = Lth_strdup_str(name);
return font;
}
// EOF