[wpiutil,hal] Move C++ Handle wrapper to wpiutil (#8935)

Also move WPI_Handle typedef to its own header (util/Handle.h).
This commit is contained in:
Peter Johnson
2026-06-01 13:57:25 -07:00
committed by GitHub
parent 3d982f81dd
commit 3f0d7bc2c4
24 changed files with 126 additions and 127 deletions

View File

@@ -7,6 +7,7 @@
#include <stddef.h> // NOLINT
#include <stdint.h>
#include "wpi/util/Handle.h"
#include "wpi/util/PixelFormat.h"
#include "wpi/util/string.h"
@@ -40,7 +41,7 @@ extern "C" {
typedef int CS_Bool;
typedef int CS_Status;
typedef int CS_Handle;
typedef WPI_Handle CS_Handle;
typedef CS_Handle CS_Property;
typedef CS_Handle CS_Listener;
typedef CS_Handle CS_ListenerPoller;