Opened 18 years ago

Closed 16 years ago

#94 closed defect (wontfix)

getDi?mension() should return DimensionType

Reported by: mloskot Owned by: mloskot
Priority: 1 Milestone:
Component: Build/Install Version: main
Severity: Unassigned Keywords: imported, phpbugtracker
Cc:

Description (last modified by mloskot)

I'd suggest to provide better type safety in getDimension() functions. Now, it returns unsigned int or int type. But in fact, it returns values equvalent to enumerators from Dimension::DimensionType enum.

So, why not to return Dimension::DimensionType itself instead of int

Change History (4)

comment:1 by mateusz@…, 18 years ago

Resolution: noneduplicate
This is incomplete duplicate.
I'm removing it.

comment:2 by mloskot, 16 years ago

Component: Build scriptsBuild/Install
Description: modified (diff)
Milestone: imported
Reporter: changed from mateusz@… to mloskot
Resolution: duplicate
Status: closedreopened
Version: 3.0.0svn-trunk

comment:3 by mloskot, 16 years ago

Owner: changed from mateusz@… to mloskot
Status: reopenednew

comment:4 by mloskot, 16 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.