Generate some extern "C" lines

This commit is contained in:
Nigel Tao committed 2018-06-16 08:22:26 +10:00
1 parent 56491b384e
commit c82e41c249
18 files changed
+256 -56

No files matched your search

@@ -17,6 +17,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#ifdef __cplusplus
extern "C" {
#endif
#define WUFFS_BASE__IGNORE_POTENTIALLY_UNUSED_VARIABLE(x) (void)(x)
// WUFFS_BASE__MAGIC is a magic number to check that initializers are called.
@@ -558,4 +562,8 @@ static inline wuffs_base__empty_struct wuffs_base__io_writer__set_mark(
return ((wuffs_base__empty_struct){});
}
#ifdef __cplusplus
} // extern "C"
#endif
#endif // WUFFS_INCLUDE_GUARD__BASE_PRIVATE