China pledges credit for Africa