Split MxArray out of bridge into standalone file. Does not depend on bridge. Working to make it API complete with respect to mxArray, but with better calling syntax

This commit is contained in:
hbristow
2013-07-02 16:42:37 -07:00
parent 504558c0be
commit baa946c390
7 changed files with 643 additions and 499 deletions

View File

@@ -58,9 +58,9 @@ class MatlabWrapperGenerator(object):
# populate templates
for namespace in parse_tree.namespaces:
# functions
for function in namespace.functions:
populated = tfunction.render(fun=function, time=time, includes=namespace.name)
with open(output_source_dir+'/'+function.name+'.cpp', 'wb') as f:
for method in namespace.methods:
populated = tfunction.render(fun=method, time=time, includes=namespace.name)
with open(output_source_dir+'/'+method.name+'.cpp', 'wb') as f:
f.write(populated)
# classes
for clss in namespace.classes: