added Linux arm64 SDK
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
/**************************************************************************************************
|
||||
* This file is a part of Ultralight, an ultra-portable web-browser engine. *
|
||||
* *
|
||||
* See <https://ultralig.ht> for licensing and more. *
|
||||
* *
|
||||
* (C) 2024 Ultralight, Inc. *
|
||||
**************************************************************************************************/
|
||||
|
||||
///
|
||||
/// @file CAPI_Logger.h
|
||||
///
|
||||
/// User-defined logging interface.
|
||||
///
|
||||
/// `#include <Ultralight/CAPI/CAPI_Logger.h>`
|
||||
///
|
||||
/// The library uses this to display log messages for debugging during development.
|
||||
///
|
||||
/// This is intended to be implemented by users and defined before creating the Renderer.
|
||||
///
|
||||
/// @see ulPlatformSetLogger()
|
||||
///
|
||||
#ifndef ULTRALIGHT_CAPI_LOGGER_H
|
||||
#define ULTRALIGHT_CAPI_LOGGER_H
|
||||
|
||||
#include <Ultralight/CAPI/CAPI_Defines.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/******************************************************************************
|
||||
* Logger
|
||||
*****************************************************************************/
|
||||
|
||||
typedef enum { kLogLevel_Error = 0, kLogLevel_Warning, kLogLevel_Info } ULLogLevel;
|
||||
|
||||
///
|
||||
/// The callback invoked when the library wants to print a message to the log.
|
||||
///
|
||||
typedef void (*ULLoggerLogMessageCallback)(ULLogLevel log_level, ULString message);
|
||||
|
||||
typedef struct {
|
||||
ULLoggerLogMessageCallback log_message;
|
||||
} ULLogger;
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // ULTRALIGHT_CAPI_LOGGER_H
|
||||
Reference in New Issue
Block a user