Finalize C <=> C++ interface

This commit is contained in:
Allen Hill
2026-07-06 19:39:49 -07:00
parent 7ceed80128
commit 9fd8c5636e
20 changed files with 396 additions and 346 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// AVR-internal media-driver hooks, shared between media_avr.c and the bus
// transaction guard (phy_avr.c's AVCLAN_stopEvent). Not part of the public
// transaction guard (phy_avr.c's phy_guard_enter). Not part of the public
// mediacontrol.h interface.
#pragma once
@@ -13,9 +13,9 @@ extern "C" {
// Keep the TCA0 press waveform roughly in sync while a bus transaction has
// masked interrupts (runs the OVF ISR body early if an overflow is imminent).
// MUST be called with interrupts disabled (from within AVCLAN_stopEvent's
// MUST be called with interrupts disabled (from within phy_guard_enter's
// ATOMIC_BLOCK).
void mediacontrol_syncDuringMask();
void media_sync_during_guard();
#ifdef __cplusplus
}