summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-11-27 07:27:37 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2010-11-27 07:27:37 +0100
commit2158bd3e375e1185bd180219023a443a1a154957 (patch)
treed2010a579883175574063e2d3c838330b55bbfdd /include
parent070402f728067ed415b1e02d17823508b4dc2bcd (diff)
Adding SetFakeName system to help with the built-ins luas loads.
Diffstat (limited to 'include')
-rw-r--r--include/Buffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Buffer.h b/include/Buffer.h
index a858617..98d0a4c 100644
--- a/include/Buffer.h
+++ b/include/Buffer.h
@@ -50,6 +50,7 @@ class Buffer : public Handle {
off_t wseek(off_t, int = SEEK_SET) throw (GeneralException);
off_t wtell() const;
void reset();
+ void SetFakeName(const String &);
const Byte * GetBuffer() const;
static int GetNbBuffer();
@@ -58,6 +59,7 @@ class Buffer : public Handle {
size_t realsiz, bufsiz, ptr, wptr;
bool seekable;
bool got_eof;
+ String fake_name;
static int nb_buffer;
};