Demonstrate C compatibility for driver headers (#6)

This commit is contained in:
David Vo
2021-03-03 12:21:45 +11:00
committed by GitHub
parent 00989f7e5e
commit eb63719518

View File

@@ -1,5 +1,11 @@
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
void c_doThing();
}
#ifdef __cplusplus
} // extern "C"
#endif