IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 20 years ago

Closed 20 years ago

#693 closed defect (fixed)

Don't use "class" as a variable name

Reported by: rhl@… Owned by: gusciora@…
Priority: high Milestone:
Component: objects Version: 0.9.0
Severity: minor Keywords:
Cc:

Description

Some structs use "class" as a type/variable/member name (e.g. pmObjects.h). This
is a reserved word in python (and C++), and leads to [surmountable] difficulties
swigging the interface. In this case, changing "class" to "objectClass" is a simple fix.

Change History (1)

comment:1 by eugene, 20 years ago

Resolution: fixed
Status: newclosed

I changed all of the peaks->class elements to peaks->type; I left the function
named 'pmSourceRoughClass' since the word class is always attached to Rough.

Note: See TracTickets for help on using tickets.