-
Notifications
You must be signed in to change notification settings - Fork 56
System
chrisd1100 edited this page Aug 25, 2022
·
2 revisions
Functions related to the OS and current process.
Name | Brief |
---|---|
MTY_SOLoad | Dynamically load a shared object. |
MTY_SOGetSymbol | Get a symbol from a shared object. |
MTY_SOUnload | Unload a shared object. |
MTY_GetSOExtension | Get the platform's shared object file extension. |
MTY_GetHostname | Get the computer's hostname. |
MTY_IsSupported | Check if libmatoya is supported on the current platform. |
MTY_GetPlatform | Get the current platform. |
MTY_GetPlatformNoWeb | Get the current platform without considering MTY_OS_WEB . |
MTY_GetPlatformString | Turn a platform integer into a readable string. |
MTY_HandleProtocol | Execute the default protocol handler for a given URI. |
MTY_GetProcessPath | Get the full path to the current process including the executable name. |
MTY_GetProcessDir | Get the full base directory path to the current process executable. |
MTY_RestartProcess | Restart the current process. |
MTY_SetCrashFunc | Set a function to be called just before abnormal termination. |
MTY_OpenConsole | Open a console window that prints stdout and stderr . |
MTY_CloseConsole | Close an open console window. |
MTY_GetRunOnStartup | Check if a registered application name is set to run on system startup. |
MTY_SetRunOnStartup | Set an application to run on system startup. |
MTY_GetJNIEnv | Get a pointer to the thread local JNIEnv * environment. |
Name | Brief |
---|---|
MTY_OS | Operating systems. |
Name | Brief |
---|---|
MTY_CrashFunc | Function called when the process is about to terminate. |