#include <OOC/Doc/TextBuffer.oh>
#include <CharClass.oh>
#include <Strings.oh>
#define OOC_Doc_TextBuffer__minTextWidth 32
static void OOC_Doc_TextBuffer__Extend(OOC_Doc_TextBuffer__Buffer b, OOC_INT32 to);

/* run-time meta data */
static RT0__ModuleDesc _mid;
RT0__StructDesc _td_OOC_Doc_TextBuffer__Buffer = { (RT0__Struct[]){&_td_OOC_Doc_TextBuffer__BufferDesc}, NULL, &_mid, "Buffer", 8, -1, RT0__strPointer };
RT0__StructDesc _td_OOC_Doc_TextBuffer__BufferDesc = { (RT0__Struct[]){&_td_OOC_Doc_TextBuffer__BufferDesc}, (void*[]){(void*)OOC_Doc_TextBuffer__BufferDesc_Append,(void*)OOC_Doc_TextBuffer__BufferDesc_AppendEOL,(void*)OOC_Doc_TextBuffer__BufferDesc_AppendNoLB,(void*)OOC_Doc_TextBuffer__BufferDesc_AppendSpaces,(void*)OOC_Doc_TextBuffer__BufferDesc_AppendSubstring,(void*)OOC_Doc_TextBuffer__BufferDesc_Capitalize,(void*)OOC_Doc_TextBuffer__BufferDesc_Clear}, &_mid, "BufferDesc", 16, 0, RT0__strRecord };
RT0__StructDesc _td_OOC_Doc_TextBuffer__1653 = { (RT0__Struct[]){&RT0__char}, NULL, &_mid, NULL, 1, 1, RT0__strOpenArray };
RT0__StructDesc _td_OOC_Doc_TextBuffer__2464 = { (RT0__Struct[]){&RT0__char}, NULL, &_mid, NULL, 1, 1, RT0__strOpenArray };
RT0__StructDesc _td_OOC_Doc_TextBuffer__2882 = { (RT0__Struct[]){&RT0__char}, NULL, &_mid, NULL, 1, 1, RT0__strOpenArray };
static RT0__ModuleDesc _mid = { (OOC_CHAR8*)"OOC:Doc:TextBuffer", (RT0__Struct[]) { &_td_OOC_Doc_TextBuffer__Buffer, &_td_OOC_Doc_TextBuffer__BufferDesc, NULL } };

extern void OOC_OOC_Doc_TextBuffer_init0() {
  RT0__RegisterModule(&_mid);
  OOC_OOC_Doc_TextBuffer_init();
}

/* --- */
