Class: Rod::JoinElement
Class Method Summary
collapse
build_structure, cache, compatible?, difference, fields, indexed_properties, metadata, path_for_data, properties
Class Method Details
.layout ⇒ Object
14
15
16
17
|
# File 'lib/rod/join_element.rb', line 14
def self.layout
' printf(" offset: %lu' +
'(unsigned long)sizeof(unsigned long));' + "\n"
end
|
.struct_name ⇒ Object
19
20
21
|
# File 'lib/rod/join_element.rb', line 19
def self.struct_name
"_join_element"
end
|
.typedef_struct ⇒ Object
5
6
7
8
9
10
11
12
|
# File 'lib/rod/join_element.rb', line 5
def self.typedef_struct
str = " |typedef struct {\n | unsigned long offset;\n |} _join_element;\n END\n str.margin\nend\n"
|