summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
commit7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch)
tree88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h
parent03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff)
CTAN sync 202107040301
Diffstat (limited to 'macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h')
-rw-r--r--macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h
index 9fb4d09a6d..784a3ca497 100644
--- a/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h
+++ b/macros/texinfo/texinfo/tp/Texinfo/XS/parsetexi/macro.h
@@ -1,5 +1,7 @@
/* macro.h - declarations for macro.c */
-/* Copyright 2010-2019 Free Software Foundation, Inc.
+#ifndef MACRO_H
+#define MACRO_H
+/* Copyright 2010-2021 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -14,6 +16,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#include "tree_types.h"
+
typedef struct {
enum command_id cmd;
char *begin;
@@ -37,8 +41,9 @@ MACRO *lookup_macro (enum command_id cmd);
void wipe_macros (void);
void store_value (char *name, char *value);
-char *fetch_value (char *name, int len);
-void clear_value (char *name, int len);
+char *fetch_value (char *name);
+void clear_value (char *name);
INFO_ENCLOSE *lookup_infoenclose (enum command_id cmd);
void add_infoenclose (enum command_id cmd, char *begin, char *end);
+#endif