mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
As discussed, we don't really need the error checking specifically, as we are just going to throw exceptions anyway, so this will make sure you can check for 0 and be sure you catch any handle errors.
17 lines
613 B
C
17 lines
613 B
C
/*----------------------------------------------------------------------------*/
|
|
/* Copyright (c) FIRST 2016. All Rights Reserved. */
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
/* the project. */
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
#define HAL_INVALID_HANDLE 0
|
|
|
|
typedef int32_t HalHandle;
|
|
|
|
typedef HalHandle HalPortHandle;
|