catched up api changes, fixed dysfunctional c++ signature api, enhanced c++ Buf class.

This commit is contained in:
TLINDEN
2014-02-16 15:29:19 +01:00
parent 1342fa2b45
commit 3f03f97992
7 changed files with 62 additions and 49 deletions

View File

@@ -96,6 +96,10 @@ unsigned char *Buf::get() {
return buffer_get(B);
}
Buffer *Buf::get_buffer() {
return B;
}
string Buf::get_str() {
return string(buffer_get_str(B));
}