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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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