View previous topic :: View next topic |
Author |
Message |
Wienczny
Joined: 10 Apr 2004 Posts: 35
|
Posted: Sun May 02, 2004 4:21 pm Post subject: Keyword renaming |
|
|
I've tried to convert some internal.gtk files.
What should happen to D keywords used in Java?
In os.d there a several function parameter called "instance".
Should I prefix it? '_' 'h' ? |
|
Back to top |
|
|
JJR
Joined: 22 Feb 2004 Posts: 1104
|
Posted: Sun May 02, 2004 4:54 pm Post subject: |
|
|
I don't know what the standard procedure for renaming is; but after looking in the gtk OS.d, I don't think it matters too much what you change the name to since it's just a declaration for an external function. Prepending the symbol with an underscore or some other valid character can't hurt anything. |
|
Back to top |
|
|
andy
Joined: 15 Mar 2004 Posts: 71
|
Posted: Sun May 02, 2004 4:55 pm Post subject: |
|
|
'instance' is no longer a keyword in the D language. _________________ "Complacency is a far more dangerous attitude than outrage." - Naomi Littlebear |
|
Back to top |
|
|
|