WPILibC++
2020.3.2
Extensions.h
1
/*----------------------------------------------------------------------------*/
2
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */
3
/* Open Source Software - may be modified and shared by FRC teams. The code */
4
/* must be accompanied by the FIRST BSD license file in the root directory of */
5
/* the project. */
6
/*----------------------------------------------------------------------------*/
7
8
#pragma once
9
10
#include "hal/Types.h"
11
26
typedef
int
halsim_extension_init_func_t(
void
);
27
28
extern
"C"
{
37
int
HAL_LoadOneExtension
(
const
char
* library);
38
45
int
HAL_LoadExtensions
(
void
);
46
59
void
HAL_SetShowExtensionsNotFoundMessages
(HAL_Bool showMessage);
60
}
// extern "C"
HAL_LoadOneExtension
int HAL_LoadOneExtension(const char *library)
Loads a single extension from a direct path.
HAL_SetShowExtensionsNotFoundMessages
void HAL_SetShowExtensionsNotFoundMessages(HAL_Bool showMessage)
Enables or disables the message saying no HAL extensions were found.
HAL_LoadExtensions
int HAL_LoadExtensions(void)
Loads any extra halsim libraries provided in the HALSIM_EXTENSIONS environment variable.
hal
src
main
native
include
hal
Extensions.h
Generated on Fri Feb 21 2020 08:50:35 for WPILibC++ by
1.8.16