tradcpp: upgrade to 0.5.3

This commit is contained in:
Jon Trulson
2019-12-03 18:12:22 -07:00
parent 15dfdf231a
commit ec8f4b7464
28 changed files with 843 additions and 186 deletions

View File

@@ -27,7 +27,10 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <stdbool.h>
#ifndef PLACE_H
#define PLACE_H
#include "bool.h"
enum places {
P_NOWHERE,
@@ -50,7 +53,17 @@ void place_setbuiltin(struct place *p, unsigned num);
void place_setcommandline(struct place *p, unsigned word, unsigned column);
void place_setfilestart(struct place *p, const struct placefile *pf);
void place_addcolumns(struct place *, unsigned cols);
void place_addlines(struct place *, unsigned lines);
const char *place_getname(const struct place *);
const char *place_getparsedir(const struct place *incplace);
bool place_eq(const struct place *, const struct place *);
bool place_samefile(const struct place *, const struct place *);
void place_changefile(struct place *p, const char *name);
const struct placefile *place_addfile(const struct place *incplace,
const char *name, bool fromsystemdir);
#endif /* PLACE_H */