Update layer_c.cpp