1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-03 07:24:58 +03:00
inform7/inbuild/inbuild-module/Chapter 5/Template Services.w

18 lines
400 B
OpenEdge ABL
Raw Normal View History

[Templates::] Template Services.
An Inform 7 website template.
@ =
typedef struct inform_template {
struct inbuild_copy *as_copy;
2020-02-19 22:48:30 +02:00
struct semantic_version_number version;
MEMORY_MANAGEMENT
} inform_template;
inform_template *Templates::new_it(text_stream *name, pathname *P) {
inform_template *T = CREATE(inform_template);
T->as_copy = NULL;
T->version = VersionNumbers::null();
return T;
}