tools/genmodule: Remember and restore memory slots in resp. OpenLib, CloseLib.
commit4d4188fbab9758f22507396467064ec3e2adaae4
authorverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 5 Feb 2012 14:36:56 +0000 (5 14:36 +0000)
committerverhaegs <verhaegs@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 5 Feb 2012 14:36:56 +0000 (5 14:36 +0000)
treeb81b625d8da106a02e5854281917634a4dba9489
parentd59492773e10b2ad60719e5fe54d2d07a68adbe7
tools/genmodule: Remember and restore memory slots in resp. OpenLib, CloseLib.

This is an improvement of previous patch that also work for per-opener based libraries.
Also more extensive documentation is present to describe working of generated code.
TODO: add docs for other modules than .library

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@43877 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
tools/genmodule/writestart.c