what is the replacement of ccg in the 2.1.4?

im trying to port some old code and its using ccg ( macro ??)
what is the identical replacement for it in the newer version ?