From fd830279725081d95e3f08f768ed6879c92fe838 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 12 Nov 2019 06:02:12 -0800 Subject: 32bit --- src/unstable/textbuilder.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/unstable/textbuilder.cpp') diff --git a/src/unstable/textbuilder.cpp b/src/unstable/textbuilder.cpp index af4dbac..5209e7b 100644 --- a/src/unstable/textbuilder.cpp +++ b/src/unstable/textbuilder.cpp @@ -191,7 +191,12 @@ void Bu::TextBuilderCore::set( const CodePoint *pSrc, int32_t iLength ) void Bu::TextBuilderCore::copyTo( void *pDestRaw, int32_t iLength ) { - + CodePoint *pDest = reinterpret_cast( pDestRaw ); + + Chunk *pCur = pFirst; + while( pCur && iLength ) + { + } } Bu::CodePoint Bu::TextBuilderCore::getAt( int32_t iIndex ) const @@ -270,6 +275,11 @@ Bu::Text Bu::TextBuilder::getText() const return Text( *this ); } +void Bu::TextBuilder::copyTo( void *pDestRaw, int32_t iDestSize ) const +{ + core->copyTo( pDestRaw, iDestSize ); +} + Bu::CodePoint Bu::TextBuilder::operator[]( int32_t iIndex ) const { return core->getAt( iIndex ); -- cgit v1.2.3