ast_update_use_count() v.s. ast_module_ref()


I’m porting a channel driver from asterisk 1.2 to asterisk 1.4.

I’ve noticed, that other channel drivers no longer call ast_update_use_count() funciton, but call ast_module_ref(ast_module_info->self) instead (in places where the other function was called). And, yet, the old function didn’t disapear from source tree. My channel driver compiles OK and looks like it is working just fine.

Now, I wasn’t able to locate any explanation on the reasons (API changed?). Could someone shred some light on the subject?