blob: bad41d727b37e8cbd17ec7707aacb5ca4d6d4c52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org)
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/nekernel-org/nekernel
#ifndef NEKIT_VARIANT_INL
#define NEKIT_VARIANT_INL
template <typename T>
inline T* Kernel::Variant::As() {
return reinterpret_cast<T*>(fPtr);
}
#endif
|