[cpp] Using |extern C| statements