From 16760be9d0406932558898831396db8ba554ccb2 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 1 Dec 2023 13:25:43 +0200 Subject: [PATCH] run `v fmt -w .` --- pcre.v | 4 ++-- regex.v | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcre.v b/pcre.v index cc6a8e3..0e9cc69 100644 --- a/pcre.v +++ b/pcre.v @@ -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 diff --git a/regex.v b/regex.v index cf0bcb3..bfedef0 100644 --- a/regex.v +++ b/regex.v @@ -1,6 +1,6 @@ module pcre -[heap] +@[heap] struct Regex { pub: re &C.pcre // A pointer to pcre structure