[Mono-devel-list] patch for make-map.cs

Jackson Harper jackson at ximian.com
Fri Sep 17 13:25:55 EDT 2004


Hello!

	Here is a patch that makes make-map in Mono.Posix actually write values
instead of names into the header file.

Old output:
#define Mono_Posix_PollEvents_POLLIN POLLIN
....
if ((x & Mono_Posix_PollEvents_POLLIN) != 0)
	r |= POLLIN;

New output:
#define Mono_Posix_PollEvents_POLLIN <Whatever C# enum value is>
....
if ((x & Mono_Posix_PollEvents_POLLIN) != 0)
	r |= POLLIN;


Anyone have any problems with me commiting?

Jackson


-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-map.cs.patch
Type: text/x-patch
Size: 681 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040917/c9e6ab8b/attachment.bin 


More information about the Mono-devel-list mailing list