1
0
mirror of git://projects.qi-hardware.com/fped.git synced 2024-09-30 13:26:01 +03:00
fped/fped.h
Werner Almesberger 8982d09474 add experimental reload feature
This is a first crude attempt at allowing reloading without exiting
fped. This should be useful when writing a design as text and using
the GUI only to visualize it.

Reload is only enabled (in the File menu) if the file doesn't have
the "MACHINE-GENERATED" header.

Known bugs:
- exits on parse errors
- leaks memory badly
- current frame is reset to root
2012-08-21 02:08:26 -03:00

24 lines
514 B
C

/*
* fped.h - Things fped.c exports
*
* Written 2010, 2012 by Werner Almesberger
* Copyright 2010, 2012 by Werner Almesberger
*
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*/
#ifndef FPED_H
#define FPED_H
extern char *save_file_name;
extern int no_save;
void reload(void);
#endif /* !FPED_H */