improved formatting of exacts

git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@479 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
ikits 2007-03-02 04:40:31 +00:00
parent 206677fb3a
commit 1bc1d49abd
3 changed files with 9 additions and 7 deletions

View File

@ -35,7 +35,9 @@ sub prefix_varname($)
sub make_exact($)
{
return "$_[0]"
my $exact = $_[0];
$exact =~ s/(; |{)/$1\n/g;
return $exact;
}
sub make_separator($)

View File

@ -76,5 +76,5 @@ GLX_VERSION_1_3
typedef XID GLXPbuffer
typedef XID GLXFBConfigID
typedef struct __GLXFBConfigRec *GLXFBConfig
typedef struct { int event_type; int draw_type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; unsigned int buffer_mask; unsigned int aux_buffer; int x, y; int width, height; int count; } GLXPbufferClobberEvent
typedef union __GLXEvent { GLXPbufferClobberEvent glxpbufferclobber; long pad[24]; } GLXEvent
typedef struct { int event_type; int draw_type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; unsigned int buffer_mask; unsigned int aux_buffer; int x, y; int width, height; int count; } GLXPbufferClobberEvent;
typedef union __GLXEvent { GLXPbufferClobberEvent glxpbufferclobber; long pad[24]; } GLXEvent;