cleaned up i2p_category to encapsulate it in i2p_stream.cpp, as well as the socks5 erro_category. added some documentation to torrent_handle and session. fixed reference documentation mapping of get_*_category() functions. regenerate documentation

This commit is contained in:
Arvid Norberg
2014-02-02 04:07:36 +00:00
parent 15e2019332
commit 9612ef193e
18 changed files with 349 additions and 314 deletions

View File

@@ -105,10 +105,8 @@ category_fun_mapping = {
def categorize_symbol(name, filename):
f = os.path.split(filename)[1]
if f in category_mapping:
return category_mapping[f]
if name.endswith('_category') \
if name.endswith('_category()') \
or name.endswith('_error_code') \
or name.endswith('error_code_enum'):
return 'Error Codes'
@@ -116,6 +114,9 @@ def categorize_symbol(name, filename):
if name in category_fun_mapping:
return category_fun_mapping[name]
if f in category_mapping:
return category_mapping[f]
return 'Core'
def suppress_warning(filename, name):