2009-12-03 Jeffrey Stedfast <fejj@novell.com>
[moon.git] / src / genkindcs.sh
bloba19d12457091c463f8630ec789016bf8137790c5
1 #!/bin/bash
3 echo -e "/* this file was autogenerated from moon/src/value.h. do not edit this file */"
4 echo -e "namespace Mono {"
5 echo -e "\\tpublic enum Kind {"
6 echo
8 cat value.h | sed -e 1,/START_MANAGED_MAPPING/d -e '/END_MANAGED_MAPPING/,$d'
10 echo -e "\\t}"
11 echo -e "}"