// Copyright 2025 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#pragma once

#include <xccompat.h>

#if defined(__cplusplus) || defined(__XC__)
extern "C" {
#endif

#if defined(__XC__)
void some_gpi(chanend c_gpi, in port p_buttons);
#else
void some_gpi(chanend c_gpi, port p_buttons);
#endif // defined(__XC__)

#if defined(__cplusplus) || defined(__XC__)
}
#endif // End of extern "C" scope
