1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

Project description files can now begin with comment lines.

- solidify/project.h (struct project), solidify/project.c (make_project,
  load_project, save_project): allow project descriptions to begin with
  any numer of comment lines and preserve them across sessions
This commit is contained in:
Werner Almesberger
2010-09-26 06:09:12 -03:00
parent d9ddd52427
commit 34117153cb
2 changed files with 19 additions and 6 deletions

View File

@@ -13,6 +13,7 @@
/*
* Project file structure:
*
* Zero or more comment lines beginning with a hash sign (#)
* line 1: file name of top face (required)
* line 2: file name of bottom face (required)
* line 3 and beyond, separated by whitespace:
@@ -34,6 +35,7 @@
struct project {
const char *name;
const char *comment;
const char *top;
const char *bottom;
struct solid s;