1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-22 08:22:04 +03:00

Extern C blocks (#1352) (#4044)

* Add extern C guard blocks to SDK header files #1352

* fixed some extern C blocks in core and libraries
This commit is contained in:
Develo
2017-12-30 02:03:26 -03:00
committed by GitHub
parent 1cd4a00cff
commit a2d16f38d4
21 changed files with 165 additions and 11 deletions

View File

@ -4,9 +4,6 @@
#include <stdint.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __ets__
@ -26,6 +23,10 @@ extern "C" {
#endif // __ets__
#ifdef __cplusplus
extern "C" {
#endif
#define _SFR_BYTE(n) (n)
typedef void prog_void;

View File

@ -6,13 +6,13 @@
#define _UMM_MALLOC_CFG_H
#include <debug.h>
#ifdef __cplusplus
extern "C" {
#endif
//#ifdef __cplusplus
//extern "C" {
//#endif
#include "c_types.h"
#ifdef __cplusplus
}
#endif
//#ifdef __cplusplus
//}
//#endif
/*
* There are a number of defines you can set at compile time that affect how
* the memory allocator will operate.