mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-06 15:48:47 +00:00
[examples] write examples directory
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Example: type-metadata
|
||||
** Example: type metadata
|
||||
**
|
||||
** This is a hand written header to be included into the final program to
|
||||
** define types that will be used to layout the metadata tables created by the
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Example: type-metadata
|
||||
** Example: type metadata
|
||||
**
|
||||
** This file shows including the generated type information into a final
|
||||
** program and using that type info to unpack a buffer of data.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Example: type-metadata
|
||||
** Example: type metadata
|
||||
**
|
||||
** TODO full commentary
|
||||
**
|
||||
@@ -1152,7 +1152,8 @@ main(int argc, char **argv)
|
||||
fclose(c);
|
||||
}
|
||||
|
||||
// print state
|
||||
// print diagnostics of the parse analysis
|
||||
#if 0
|
||||
for (GEN_TypeInfo *type = first_type;
|
||||
type != 0;
|
||||
type = type->next)
|
||||
@@ -1207,4 +1208,5 @@ main(int argc, char **argv)
|
||||
MD_S8VArg(map_case->out->string));
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** Example: type-metadata
|
||||
** Example: type metadata
|
||||
**
|
||||
** TODO full commentary
|
||||
**
|
||||
|
||||
Reference in New Issue
Block a user