lib/archive: Tell g-ir-scanner to ignore the private libarchive bits
Squashes this warning: ``` src/libostree/ostree-libarchive-private.h:46: syntax error, unexpected typedef-name in ' g_autoptr(OtAutoArchiveRead) a = archive_read_new ();' at 'OtAutoArchiveRead' ``` Closes: #1629 Approved by: jlebon
This commit is contained in:
parent
ce58307757
commit
cc5254ac34
|
|
@ -23,6 +23,9 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
/* Private, not for introspection */
|
||||
#ifndef __GI_SCANNER__
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
|
@ -64,3 +67,5 @@ ot_open_archive_read (const char *path, GError **error)
|
|||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue