Bugzilla – Attachment 5 Details for
Bug 13
Readable names for function arguments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
Avoid conflict with 'addr' argument in wgl
addr.diff (text/plain), 940 bytes, created by
Sven Gothel
on 2003-06-21 15:46:00 CEST
(
hide
)
Description:
Avoid conflict with 'addr' argument in wgl
Filename:
MIME Type:
Creator:
Sven Gothel
Created:
2003-06-21 15:46:00 CEST
Size:
940 bytes
patch
obsolete
>--- orig/JavaGLPAWrapperEmitter.java 2003-06-08 21:27:10.000000000 +0200 >+++ new/JavaGLPAWrapperEmitter.java 2003-06-22 00:35:55.000000000 +0200 >@@ -152,10 +152,10 @@ > String procAddressVariable = > GLEmitter.PROCADDRESS_VAR_PREFIX + wrappedBinding.getName(); > >- writer.print(" final long addr = context.getGLProcAddressTable()."); >+ writer.print(" final long __addr_ = context.getGLProcAddressTable()."); > writer.print(procAddressVariable); > writer.println(';'); >- writer.println(" if (addr == 0) {"); >+ writer.println(" if (__addr_ == 0) {"); > writer.println(" throw new GLException(\"Method \\\"" + binding.getName() + "\\\" not available\");"); > writer.println(" }"); > } >@@ -165,7 +165,7 @@ > if (numEmitted > 0) { > writer.print(", "); > } >- writer.print("addr"); >+ writer.print("__addr_"); > return 1 + numEmitted; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 13
:
3
|
4
| 5