litert::SourceLocation
Summary
Public static functions
|
current(PrivateTag, const char *file, uint32_t line)
|
|
Public functions
|
file_name() const
|
constexpr const char *
|
line() const
|
constexpr uint32_t
|
Public static functions
current
constexpr SourceLocation current(
PrivateTag,
const char *file,
uint32_t line
)
Public functions
file_name
constexpr const char * file_name() const
line
constexpr uint32_t line() const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-14 UTC."],[],[],null,["# litert::SourceLocation Class Reference\n\nlitert::SourceLocation\n======================\n\nSummary\n-------\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------|\n| [current](#classlitert_1_1_source_location_1a2ed9b4b73a5dd7a7d05fbb58c56a2c5b)`(PrivateTag, const char *file, uint32_t line)` | `constexpr `[SourceLocation](/edge/api/litert/c/classlitert/1-1-source-location#classlitert_1_1_source_location) |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------|--------------------------|\n| [file_name](#classlitert_1_1_source_location_1a3aa7b72b2bcd71cb88b8bb8a60badda2)`() const ` | `constexpr const char *` |\n| [line](#classlitert_1_1_source_location_1a60349df5a689e2fb4c376f53c634a540)`() const ` | `constexpr uint32_t` |\n\nPublic static functions\n-----------------------\n\n### current\n\n```gdscript\nconstexpr SourceLocation current(\n PrivateTag,\n const char *file,\n uint32_t line\n)\n``` \n\nPublic functions\n----------------\n\n### file_name\n\n```gdscript\nconstexpr const char * file_name() const \n``` \n\n### line\n\n```gdscript\nconstexpr uint32_t line() const \n```"]]