Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit dfa9e9e

Browse files
committed
Add declarations of System functions
Clang expects these friend functions to be previously declared so they are added here to satisfy that requirement.
1 parent 783ae43 commit dfa9e9e

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/adaptations/device-layer/include/Weave/DeviceLayer/PlatformManager.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,19 @@
2828

2929
namespace nl {
3030
namespace Weave {
31+
namespace System {
32+
namespace Platform {
33+
namespace Layer {
34+
35+
System::Error PostEvent(System::Layer&, void*, System::Object&, System::EventType, uintptr_t);
36+
System::Error DispatchEvents(System::Layer&, void*);
37+
System::Error DispatchEvent(System::Layer&, void*, System::Event);
38+
System::Error StartTimer(System::Layer&, void*, uint32_t);
39+
40+
} // namespace Layer
41+
} // namespace Platform
42+
} // namespace System
43+
3144
namespace DeviceLayer {
3245

3346
class PlatformManagerImpl;

0 commit comments

Comments
 (0)