Skip to content

Commit

Permalink
Merge pull request #12 from Menduist/fixmethodgcsafe
Browse files Browse the repository at this point in the history
Fix method gcsafe
  • Loading branch information
ba0f3 authored Oct 24, 2022
2 parents 6647ca8 + 3f8d914 commit fcd7443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dnsclient.nimble
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Package

version = "0.3.1"
version = "0.3.2"
author = "Huy Doan"
description = "Simple DNS Client & Library"
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions src/dnsclientpkg/types.nim
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ type



method parse*(r: ResourceRecord, data: StringStream) {.base.} =
method parse*(r: ResourceRecord, data: StringStream) {.base, gcsafe.} =
raise newException(LibraryError, "parser for " & $r.kind & " is not implemented yet")

method toString*(r: ResourceRecord): string {.base.} =
method toString*(r: ResourceRecord): string {.base, gcsafe.} =
raise newException(LibraryError, "to override!")

0 comments on commit fcd7443

Please sign in to comment.