cpp: add missing annotation declaration

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>