Commit a50c14700360c141840f639c5ff535020bffabd4

Authored by Austin Blanton
1 parent b475ebe8

Add a few thoughts on how to improve python wrapper

Showing 1 changed file with 4 additions and 0 deletions
scripts/brpy/__init__.py
... ... @@ -53,6 +53,10 @@ def _handle_string_func(func, *moretypes):
53 53 return msg
54 54 return call_func
55 55  
  56 +# TODO: small wrapper around any objects that need br_free_*
  57 +# so when python object dies, user doesn't need to call br_free_*
  58 +# TODO: iterator for templatelist object
  59 +# (or mimic C++ obj API via C? overkill?)
56 60 def init_brpy(br_loc='/usr/local/lib'):
57 61 """Initializes all function inputs and outputs for the br ctypes lib object"""
58 62  
... ...