<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>13</bug_id>
          
          <creation_ts>2003-06-21 03:00:32 +0200</creation_ts>
          <short_desc>Readable names for function arguments</short_desc>
          <delta_ts>2015-09-27 03:09:33 +0200</delta_ts>
          <reporter_accessible>0</reporter_accessible>
          <cclist_accessible>0</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2010-03-24 07:45:25 +0100</bug_when>
    <thetext>


---- Reported by abies 2003-06-21 15:00:32 ----

Current parser does not recognize names defined in typedef declarations of
functions, only ones which are contained in normal C declarations. Because of
that, many ext functions have meaningless argument names (arg0,arg1,...,argN).
These two patches correct it, so argument names will be generated from typedefs
in header, if available.



---- Additional Comments From abies 2003-06-21 15:01:08 ----

Created an attachment
Ability to change existing paramater name




---- Additional Comments From abies 2003-06-21 15:01:47 ----

Created an attachment
Fill in parameter name if it is available from typedef declaration




---- Additional Comments From abies 2003-06-21 15:46:12 ----

Created an attachment
Avoid conflict with &apos;addr&apos; argument in wgl




---- Additional Comments From kbr 2003-07-14 23:35:29 ----

Thanks for the patches. They have been applied.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:45 EDT  ---

This bug was previously known as _bug_ 13 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=13
Imported an attachment (id=3)
Imported an attachment (id=4)
Imported an attachment (id=5)

The original submitter of attachment 3 is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.
The original submitter of attachment 4 is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.
The original submitter of attachment 5 is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>3</attachid>
            <date>2003-06-21 15:01:00 +0200</date>
            <delta_ts>2003-06-21 15:01:00 +0200</delta_ts>
            <desc>Ability to change existing paramater name</desc>
            <filename>functiontype.diff</filename>
            <type>text/plain</type>
            <size>361</size>
            <attacher name="Sven Gothel">sgothel</attacher>
            
              <data encoding="base64">LS0tIG9yaWcvRnVuY3Rpb25UeXBlLmphdmEJMjAwMy0wNi0wOCAyMToyNzoxMC4wMDAwMDAwMDAg
KzAyMDANCisrKyBuZXcvRnVuY3Rpb25UeXBlLmphdmEJMjAwMy0wNi0yMSAyMzo0NDowMC4wMDAw
MDAwMDAgKzAyMDANCkBAIC05NCw2ICs5NCwxMSBAQA0KICAgICBhcmd1bWVudE5hbWVzLmFkZChh
cmd1bWVudE5hbWUpOw0KICAgfQ0KIA0KKyAgcHVibGljIHZvaWQgc2V0QXJndW1lbnROYW1lKGlu
dCBpLCBTdHJpbmcgbmFtZSkNCisgIHsNCisgICAgYXJndW1lbnROYW1lcy5zZXQoaSxuYW1lKTsN
CisgIH0NCisNCiAgIHB1YmxpYyBTdHJpbmcgdG9TdHJpbmcoKSB7DQogICAgIHJldHVybiB0b1N0
cmluZyhudWxsKTsNCiAgIH0NCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4</attachid>
            <date>2003-06-21 15:01:00 +0200</date>
            <delta_ts>2003-06-21 15:01:00 +0200</delta_ts>
            <desc>Fill in parameter name if it is available from typedef declaration</desc>
            <filename>glemitter.diff</filename>
            <type>text/plain</type>
            <size>771</size>
            <attacher name="Sven Gothel">sgothel</attacher>
            
              <data encoding="base64">LS0tIG9yaWcvR0xFbWl0dGVyLmphdmEJMjAwMy0wNi0wOCAyMToyNzoxMC4wMDAwMDAwMDAgKzAy
MDANCisrKyBuZXcvR0xFbWl0dGVyLmphdmEJMjAwMy0wNi0yMSAyMzo0NjoxNi4wMDAwMDAwMDAg
KzAyMDANCkBAIC0yMTYsNiArMjE2LDE4IEBADQogICAgICAgLy9TeXN0ZW0uZXJyLnByaW50bG4o
IldBUk5JTkcgKEdMKTogKm5vdCogcnVuLXRpbWUgbGlua2luZzogIiArIHN5bSArDQogICAgICAg
Ly8gICAgICAgICAgICAgICAgICAgIigiICsgZnVuY1BvaW50ZXJUeXBlZGVmTmFtZSArICIgdW5k
ZWZpbmVkKSIpOw0KICAgICB9DQorICAgIGVsc2UgDQorICAgIHsNCisgICAgICAgIEZ1bmN0aW9u
VHlwZSB0eXBlZGVmID0gdHlwZWRlZkRpY3Rpb25hcnkuZ2V0KGZ1bmNQb2ludGVyVHlwZWRlZk5h
bWUpLmFzUG9pbnRlcigpLmdldFRhcmdldFR5cGUoKS5hc0Z1bmN0aW9uKCk7DQorICAgICAgICBG
dW5jdGlvblR5cGUgZnVuID0gc3ltLmdldFR5cGUoKTsNCisgICAgICAgIGludCBudW1hcmcgPSB0
eXBlZGVmLmdldE51bUFyZ3VtZW50cygpOw0KKyAgICAgICAgZm9yICggaW50IGkgPTA7IGkgPCBu
dW1hcmc7IGkrKyApDQorICAgICAgICB7DQorICAgICAgICAgIGlmICggZnVuLmdldEFyZ3VtZW50
TmFtZShpKSA9PSBudWxsICkNCisgICAgICAgICAgICBmdW4uc2V0QXJndW1lbnROYW1lKGksdHlw
ZWRlZi5nZXRBcmd1bWVudE5hbWUoaSkpOw0KKyAgICAgICAgfQ0KKwl9DQorICAgIA0KICAgICBy
ZXR1cm4gc2hvdWxkV3JhcDsNCiAgIH0NCiAgIA0K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>5</attachid>
            <date>2003-06-21 15:46:00 +0200</date>
            <delta_ts>2003-06-21 15:46:00 +0200</delta_ts>
            <desc>Avoid conflict with &apos;addr&apos; argument in wgl</desc>
            <filename>addr.diff</filename>
            <type>text/plain</type>
            <size>940</size>
            <attacher name="Sven Gothel">sgothel</attacher>
            
              <data encoding="base64">LS0tIG9yaWcvSmF2YUdMUEFXcmFwcGVyRW1pdHRlci5qYXZhCTIwMDMtMDYtMDggMjE6Mjc6MTAu
MDAwMDAwMDAwICswMjAwDQorKysgbmV3L0phdmFHTFBBV3JhcHBlckVtaXR0ZXIuamF2YQkyMDAz
LTA2LTIyIDAwOjM1OjU1LjAwMDAwMDAwMCArMDIwMA0KQEAgLTE1MiwxMCArMTUyLDEwIEBADQog
ICAgIFN0cmluZyBwcm9jQWRkcmVzc1ZhcmlhYmxlID0NCiAgICAgICBHTEVtaXR0ZXIuUFJPQ0FE
RFJFU1NfVkFSX1BSRUZJWCArIHdyYXBwZWRCaW5kaW5nLmdldE5hbWUoKTsNCiANCi0gICAgd3Jp
dGVyLnByaW50KCIgICAgZmluYWwgbG9uZyBhZGRyID0gY29udGV4dC5nZXRHTFByb2NBZGRyZXNz
VGFibGUoKS4iKTsNCisgICAgd3JpdGVyLnByaW50KCIgICAgZmluYWwgbG9uZyBfX2FkZHJfID0g
Y29udGV4dC5nZXRHTFByb2NBZGRyZXNzVGFibGUoKS4iKTsNCiAgICAgd3JpdGVyLnByaW50KHBy
b2NBZGRyZXNzVmFyaWFibGUpOyAgICANCiAgICAgd3JpdGVyLnByaW50bG4oJzsnKTsgICAgDQot
ICAgIHdyaXRlci5wcmludGxuKCIgICAgaWYgKGFkZHIgPT0gMCkgeyIpOw0KKyAgICB3cml0ZXIu
cHJpbnRsbigiICAgIGlmIChfX2FkZHJfID09IDApIHsiKTsNCiAgICAgd3JpdGVyLnByaW50bG4o
IiAgICAgIHRocm93IG5ldyBHTEV4Y2VwdGlvbihcIk1ldGhvZCBcXFwiIiArIGJpbmRpbmcuZ2V0
TmFtZSgpICsgIlxcXCIgbm90IGF2YWlsYWJsZVwiKTsiKTsNCiAgICAgd3JpdGVyLnByaW50bG4o
IiAgICB9Iik7DQogICB9DQpAQCAtMTY1LDcgKzE2NSw3IEBADQogICAgIGlmIChudW1FbWl0dGVk
ID4gMCkgew0KICAgICAgIHdyaXRlci5wcmludCgiLCAiKTsNCiAgICAgfQ0KLSAgICB3cml0ZXIu
cHJpbnQoImFkZHIiKTsNCisgICAgd3JpdGVyLnByaW50KCJfX2FkZHJfIik7DQogICAgIHJldHVy
biAxICsgbnVtRW1pdHRlZDsNCiAgIH0NCiANCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>