WPILibC++  2018.4.1-1228-gb9fa3a4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Extensions.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) 2017-2018 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 
24 typedef int halsim_extension_init_func_t(void);
25 
26 extern "C" {
35 int HAL_LoadOneExtension(const char* library);
36 
43 int HAL_LoadExtensions(void);
44 } // extern "C"
int HAL_LoadExtensions(void)
Loads any extra halsim libraries provided in the HALSIM_EXTENSIONS environment variable.
int HAL_LoadOneExtension(const char *library)
Loads a single extension from a direct path.