Skip to content

Commit 0aebae2

Browse files
committed
Added rust.template, updated all other templates
1 parent a2b3a6c commit 0aebae2

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

templates/c-header.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
/**
55
* ATTENTION! This file was generated automatically. Do NOT change it directly!
6-
* All direct changes may be overwritten.
6+
* All direct changes will be overwritten.
77
*
8-
* LAST UPDATED AT: ${generated_at}
8+
* LAST UPDATED AT: {{ environment.generated_at }}
99
*/
1010

11-
enum ${name} {
12-
${items}
11+
enum {{ name }} {
12+
{{ lines }}
1313
};
1414

1515
#endif

templates/cpp-header.template

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
/**
44
* ATTENTION! This file was generated automatically. Do NOT change it directly!
5-
* All direct changes may be overwritten.
5+
* All direct changes will be overwritten.
66
*
7-
* LAST UPDATED AT: ${generated_at}
7+
* LAST UPDATED AT: {{ environment.generated_at }}
88
*/
99

10-
enum ${name} {
11-
${items}
10+
enum {{ name }} {
11+
{{ lines }}
1212
};

templates/rust.template

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
//
2+
// ATTENTION! This file was generated automatically. Do NOT change it directly!
3+
// All direct changes will be overwritten.
4+
//
5+
// LAST UPDATED AT: {{ environment.generated_at }}
6+
//
7+
8+
enum {{ name }} {
9+
{{ lines }}
10+
}

0 commit comments

Comments
 (0)