#9360R: mix CPP/C code - experimental