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:
@@ -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):
|
||||
|
Reference in New Issue
Block a user