szip: use `&zip` instead of `*zip` (#2301)

pull/2307/head
Don Alfons Nisnoni 2019-10-12 17:46:33 +08:00 committed by Alexander Medvednikov
parent 1e121d36a4
commit 5ef2c947f7
1 changed files with 1 additions and 2 deletions

View File

@ -6,7 +6,7 @@ module szip
#include "zip.h" #include "zip.h"
type zip C.zip_t type zip C.zip_t
type zip_ptr *zip type zip_ptr &zip
// Ref - miniz.h // Ref - miniz.h
const ( const (
@ -283,4 +283,3 @@ pub fn (zentry mut zip_ptr) total() ?int {
} }
return _tentry return _tentry
} }