mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user