[girwriter] Refactor out of generate.c

Move out the girwriter out of generate.c. Still a private API,
but that will probably change in the future.
This commit is contained in:
Johan Dahlin 2010-06-07 10:52:43 -03:00
parent 06d778dc3c
commit 27511f220b
3 changed files with 1412 additions and 5 deletions

View File

@ -64,6 +64,8 @@ libgirepository_parser_la_SOURCES = \
girnode.h \
giroffsets.c \
girparser.c \
girparser.h
girparser.h \
girwriter.c \
girwriter.h
libgirepository_parser_la_CFLAGS = $(GIREPO_CFLAGS)

1402
girwriter.c Normal file

File diff suppressed because it is too large Load Diff

View File

@ -18,9 +18,12 @@
* Boston, MA 02111-1307, USA.
*/
#ifndef __G_IDL_WRITER_H__
#define __G_IDL_WRITER_H__
#ifndef __GIRWRITER_H__
#define __GIRWRITER_H__
void g_idl_writer_save_file (GIdlModule *module, const gchar *filename);
void gir_writer_write (const char *filename,
const char *namespace,
gboolean needs_prefix,
gboolean show_all);
#endif /* __G_IDL_WRITER_H__ */
#endif /* __GIRWRITER_H__ */