diff options
author | Andreas Mantke <maand@gmx.de> | 2010-11-17 22:30:55 +0100 |
---|---|---|
committer | Andreas Mantke <maand@gmx.de> | 2010-11-17 22:30:55 +0100 |
commit | d3b093f4de1352a017e8908ad482c268a23fa58b (patch) | |
tree | 6128bf2ade5fca4ea7d51f57a8efda6d9e88dbef /basic | |
parent | c2d6e044758f330ffa07da7401c3c140c5e44894 (diff) |
translation of comments to English
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/comp/buffer.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx index 5a6aa36970ef..c248d4100675 100644 --- a/basic/source/comp/buffer.cxx +++ b/basic/source/comp/buffer.cxx @@ -35,9 +35,9 @@ const static UINT32 UP_LIMIT=0xFFFFFF00L; -// Der SbiBuffer wird in Inkrements von mindestens 16 Bytes erweitert. -// Dies ist notwendig, da viele Klassen von einer Pufferlaenge -// von x*16 Bytes ausgehen. +// The SbiBuffer will be expanded in increments of at least 16 Bytes. +// This is necessary, because many classes emanate from a buffer length +// of x*16 Bytes. SbiBuffer::SbiBuffer( SbiParser* p, short n ) { @@ -56,8 +56,8 @@ SbiBuffer::~SbiBuffer() delete[] pBuf; } -// Rausreichen des Puffers -// Dies fuehrt zur Loeschung des Puffers! +// Reach out the buffer +// This lead to the deletion of the buffer! char* SbiBuffer::GetBuffer() { @@ -67,8 +67,8 @@ char* SbiBuffer::GetBuffer() return p; } -// Test, ob der Puffer n Bytes aufnehmen kann. -// Im Zweifelsfall wird er vergroessert +// Test, if the buffer can contain n Bytes. +// In case of doubt it will be enlarged BOOL SbiBuffer::Check( USHORT n ) { @@ -101,7 +101,7 @@ BOOL SbiBuffer::Check( USHORT n ) return TRUE; } -// Angleich des Puffers auf die uebergebene Byte-Grenze +// Conditioning of the buffer onto the passed Byte limit void SbiBuffer::Align( INT32 n ) { @@ -120,7 +120,7 @@ void SbiBuffer::Align( INT32 n ) } } -// Patch einer Location +// Patch of a Location void SbiBuffer::Patch( UINT32 off, UINT32 val ) { @@ -136,9 +136,9 @@ void SbiBuffer::Patch( UINT32 off, UINT32 val ) } } -// Forward References auf Labels und Prozeduren -// bauen eine Kette auf. Der Anfang der Kette ist beim uebergebenen -// Parameter, das Ende der Kette ist 0. +// Forward References upon label und procedures +// establish a linkage. The beginning of the linkage is at the passed parameter, +// the end of the linkage is 0. void SbiBuffer::Chain( UINT32 off ) { |