Skip to content

Commit 2a2d4bf

Browse files
author
Rene Eichhorn
committed
added missing global functions
1 parent 46fc41f commit 2a2d4bf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

lib.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2941,3 +2941,18 @@ pub struct VR_IVRScreenshots_FnTable {
29412941
impl ::std::default::Default for VR_IVRScreenshots_FnTable {
29422942
fn default() -> Self { unsafe { ::std::mem::zeroed() } }
29432943
}
2944+
2945+
extern "C" {
2946+
pub fn VR_InitInternal(peError: *mut EVRInitError,
2947+
eType: EVRApplicationType) -> intptr_t;
2948+
pub fn VR_ShutdownInternal();
2949+
pub fn VR_IsHmdPresent() -> u8;
2950+
pub fn VR_GetGenericInterface(pchInterfaceVersion:
2951+
*const ::std::os::raw::c_char,
2952+
peError: *mut EVRInitError) -> intptr_t;
2953+
pub fn VR_IsRuntimeInstalled() -> u8;
2954+
pub fn VR_GetVRInitErrorAsSymbol(error: EVRInitError)
2955+
-> *const ::std::os::raw::c_char;
2956+
pub fn VR_GetVRInitErrorAsEnglishDescription(error: EVRInitError)
2957+
-> *const ::std::os::raw::c_char;
2958+
}

0 commit comments

Comments
 (0)