File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change 6
6
#
7
7
# ==-------------------------------------------------------------------------==#
8
8
9
+ from header import HeaderFile
9
10
10
- class GpuHeaderFile :
11
- def __init__ (self , name ):
12
- self .name = name
13
- self .macros = []
14
- self .types = []
15
- self .enumerations = []
16
- self .objects = []
17
- self .functions = []
18
-
19
- def add_macro (self , macro ):
20
- self .macros .append (macro )
21
-
22
- def add_type (self , type_ ):
23
- self .types .append (type_ )
24
-
25
- def add_enumeration (self , enumeration ):
26
- self .enumerations .append (enumeration )
27
-
28
- def add_object (self , object ):
29
- self .objects .append (object )
30
-
31
- def add_function (self , function ):
32
- self .functions .append (function )
33
-
11
+ class GpuHeaderFile (HeaderFile ):
34
12
def __str__ (self ):
35
13
content = []
36
14
You can’t perform that action at this time.
0 commit comments