Skip to content

Commit 70245a2

Browse files
author
Deren Vural
committed
add call_extension accessor (will be needed later)
Signed-off-by: Deren Vural <[email protected]>
1 parent 4b8251e commit 70245a2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/property/mod.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ impl Property {
6969
*
7070
* Notes:
7171
* processor, name, callExtension, icon, formatter, gpuCount
72+
* ^ skip utilization.gpu ?? ^ i32
73+
*
74+
* given proc and gpuCount
7275
*/
7376
pub fn new(
7477
processor: &Processor,
@@ -108,4 +111,8 @@ impl Property {
108111

109112
Some(results)
110113
}
114+
115+
pub fn get_call_extension(&self) -> String {
116+
self.property::<String>("call-extension").to_owned()
117+
}
111118
}

0 commit comments

Comments
 (0)