mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
glapi: s/INLINE/inline/ for dispatch.h file
This commit is contained in:
parent
ea472ffe67
commit
919c835835
1 changed files with 2 additions and 2 deletions
|
|
@ -179,11 +179,11 @@ class PrintRemapTable(gl_XML.gl_print_base):
|
|||
print 'typedef %s (GLAPIENTRYP _glptr_%s)(%s);' % (f.return_type, f.name, arg_string)
|
||||
print '#define CALL_%s(disp, parameters) \\' % (f.name)
|
||||
print ' (* GET_%s(disp)) parameters' % (f.name)
|
||||
print 'static INLINE _glptr_%s GET_%s(struct _glapi_table *disp) {' % (f.name, f.name)
|
||||
print 'static inline _glptr_%s GET_%s(struct _glapi_table *disp) {' % (f.name, f.name)
|
||||
print ' return (_glptr_%s) (GET_by_offset(disp, _gloffset_%s));' % (f.name, f.name)
|
||||
print '}'
|
||||
print
|
||||
print 'static INLINE void SET_%s(struct _glapi_table *disp, %s (GLAPIENTRYP fn)(%s)) {' % (f.name, f.return_type, arg_string)
|
||||
print 'static inline void SET_%s(struct _glapi_table *disp, %s (GLAPIENTRYP fn)(%s)) {' % (f.name, f.return_type, arg_string)
|
||||
print ' SET_by_offset(disp, _gloffset_%s, fn);' % (f.name)
|
||||
print '}'
|
||||
print
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue