Changeset 17837 in vbox
- Timestamp:
- Mar 13, 2009 3:28:59 PM (16 years ago)
- Location:
- trunk/src/VBox/Main/cbinding
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/cbinding/VBoxXPCOMC.cpp
r17793 r17837 31 31 #include "VBoxCAPI_v2_2.h" 32 32 #include "VBox/com/com.h" 33 #include "VBox/version.h" 33 34 34 35 using namespace std; … … 143 144 } 144 145 146 uint32_t 147 VBoxVersion(void) 148 { 149 uint32_t version = 0; 150 151 version = (VBOX_VERSION_MAJOR * 1000 * 1000) + (VBOX_VERSION_MINOR * 1000) + (VBOX_VERSION_BUILD); 152 153 return version; 154 } 145 155 146 156 VBOXXPCOMC_DECL(PCVBOXXPCOM) … … 152 162 sizeof(VBOXXPCOMC), 153 163 VBOX_XPCOMC_VERSION, 164 165 VBoxVersion, 154 166 155 167 VBoxComInitialize, -
trunk/src/VBox/Main/cbinding/VBoxXPCOMCGlue.c
r17821 r17837 190 190 if (g_hVBoxXPCOMC) 191 191 { 192 dlclose(g_hVBoxXPCOMC); 192 /* VBoxRT.so doesn't like being reloaded and it asserts at: 193 * Expression: g_szrtProcExePath[0] != '\0' 194 * Location : src/VBox/Runtime/r3/process.cpp(100) char* RTProcGetExecutableName(char*, size_t) 195 * so for time being not comment the following line 196 */ 197 /* dlclose(g_hVBoxXPCOMC); */ 193 198 g_hVBoxXPCOMC = NULL; 194 199 } -
trunk/src/VBox/Main/cbinding/xpcidl.xsl
r17757 r17837 600 600 /** The structure version. */ 601 601 unsigned uVersion; 602 603 unsigned int (*pfnGetVersion)(void); 604 602 605 void (*pfnComInitialize)(IVirtualBox **virtualBox, ISession **session); 603 606 void (*pfnComUninitialize)(void);
Note:
See TracChangeset
for help on using the changeset viewer.