gir: Rename girwriter.h to girwriter-private.h

It's a private header.
This commit is contained in:
Emmanuele Bassi 2023-11-08 00:16:58 +00:00
parent b0f4a6bcc4
commit 9a6c518d31
2 changed files with 13 additions and 7 deletions

View File

@ -21,12 +21,15 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __GIRWRITER_H__
#define __GIRWRITER_H__
#pragma once
#include <glib.h>
G_BEGIN_DECLS
void gir_writer_write (const char *filename,
const char *namespace,
gboolean needs_prefix,
gboolean show_all);
#endif /* __GIRWRITER_H__ */
G_END_DECLS

View File

@ -22,6 +22,13 @@
* Boston, MA 02111-1307, USA.
*/
#include "config.h"
#include "girwriter-private.h"
#include "girepository.h"
#include "gitypelib-internal.h"
#include <errno.h>
#include <string.h>
#include <stdio.h>
@ -30,10 +37,6 @@
#include <glib-object.h>
#include <glib/gstdio.h>
#include "girwriter.h"
#include "girepository.h"
#include "gitypelib-internal.h"
typedef struct {
FILE *file;
GSList *stack;