src/api/download_item.c
static int luacef_download_item_get_percent_complete(lua_State *L)
{
	cef_download_item_t *p = luacef_touserdata(L, -1);

	lua_pushinteger(L, p->get_percent_complete(p));
	return 1;
}
/*
	<int>	DownloadItem:GetPercentComplete()
	-- return -1 if the receive total size is unknown.
*/
   DownloadItem:GetPercentComplete()
return -1 if the receive total size is unknown.
DownloadItem : GetPercentComplete () return - 1 if the receive total size is unknown .
static int luacef_download_item_get_percent_complete(lua_State *L)
{
	cef_download_item_t *p = luacef_touserdata(L, -1);
	lua_pushinteger(L, p->get_percent_complete(p));
	return 1;
}
static int luacef_download_item_get_percent_complete ( lua_State * L ) { cef_download_item_t * p = luacef_touserdata ( L , -1 ) ; lua_pushinteger ( L , p -> get_percent_complete ( p ) ) ; return 1 ; }
<int>   DownloadItem:GetPercentComplete()
 return -1 if the receive total size is unknown.
<int > DownloadItem : GetPercentComplete () return - 1 if the receive total size is unknown .