"""
for sharing params in whole project
"""

def _init():
    global _global_dict
    _global_dict = {}

def set_val(name, value):
    _global_dict[name] = value

def get_val(name, defValue=None):
    try:
        return _global_dict[name]
    except KeyError:
        return defValue
def free_malloc(name):
    del _global_dict[name]
"""
for sharing params in whole project
"""

def _init():
    global _global_dict
    _global_dict = {}

def set_val(name, value):
    _global_dict[name] = value

def get_val(name, defValue=None):
    try:
        return _global_dict[name]
    except KeyError:
        return defValue
def free_malloc(name):
    del _global_dict[name]
for sharing params in whole project