Skip to content

Commit

Permalink
Add string destructor and increment version number
Browse files Browse the repository at this point in the history
  • Loading branch information
Victorious3 committed Oct 12, 2024
1 parent 7f6a127 commit ba787d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions std/strings.pr
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ export type StringBuffer = struct {
blocked: bool // This is annoying but needed to free the linked list without recursion
}

/*
export def destruct(this: *StringBuffer) -> bool {
__destruct__(*this.data)
if this.blocked { return false }
Expand All @@ -174,7 +173,6 @@ export def destruct(this: *StringBuffer) -> bool {
}
return false
}
*/

export def length(s: StringBuffer) -> size_t {
return s.offset + s.data.length()
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION=0.3.13
VERSION=0.3.14

0 comments on commit ba787d7

Please sign in to comment.