how is this linked to the c / cpp code above?