X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/62befa7fcd92427df4055e759c9da7358b13ef9e..a46a5eca6f395c86f507c20f47ab147378f70f00:/main.h diff --git a/main.h b/main.h index 29fc0c07..9b04a781 100644 --- a/main.h +++ b/main.h @@ -1,6 +1,7 @@ -/* $Id: main.h,v 1.18 2014/12/01 04:05:32 schwarze Exp $ */ +/* $Id: main.h,v 1.20 2014/12/31 16:52:40 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons + * Copyright (c) 2014 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -15,14 +16,14 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#define UNCONST(a) ((void *)(uintptr_t)(const void *)(a)) + __BEGIN_DECLS +struct mchars; struct mdoc; struct man; -#define UNCONST(a) ((void *)(uintptr_t)(const void *)(a)) - - /* * Definitions for main.c-visible output device functions, e.g., -Thtml * and -Tascii. Note that ascii_alloc() is named as such in @@ -45,6 +46,7 @@ void *locale_alloc(const struct mchars *, char *); void *utf8_alloc(const struct mchars *, char *); void *ascii_alloc(const struct mchars *, char *); void ascii_free(void *); +void ascii_sepline(void *); void *pdf_alloc(const struct mchars *, char *); void *ps_alloc(const struct mchars *, char *);