Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Jan 29, 2025
1 parent cb1a484 commit cf7b504
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=GTL
version=1.1.14
version=1.1.15
author=AlexGyver <[email protected]>
maintainer=AlexGyver <[email protected]>
sentence=Library with template tools (buffers, pointers)
Expand Down
5 changes: 5 additions & 0 deletions src/lbuf/lbuf_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ class lbuf_ext {
return _cap;
}

// "очистить" буфер
void clear() {
_head = 0;
}

T* buffer = nullptr;

private:
Expand Down

0 comments on commit cf7b504

Please sign in to comment.