Skip to content

Commit

Permalink
run v fmt -w .
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Dec 1, 2023
1 parent 4d2a0e1 commit 16760be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pcre.v
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ module pcre

#include "pcre.h"

[typedef]
@[typedef]
struct C.pcre {}

[typedef]
@[typedef]
struct C.pcre_extra {}

fn C.pcre_compile(pattern byteptr, options int, const_perr &&char, perroroffset &int, ptable voidptr) &C.pcre
Expand Down
2 changes: 1 addition & 1 deletion regex.v
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module pcre

[heap]
@[heap]
struct Regex {
pub:
re &C.pcre // A pointer to pcre structure
Expand Down

0 comments on commit 16760be

Please sign in to comment.