Opened 20 years ago
Closed 20 years ago
#693 closed defect (fixed)
Don't use "class" as a variable name
| Reported by: | Owned by: | ||
|---|---|---|---|
| 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.
Note:
See TracTickets
for help on using tickets.

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.