Opened 18 years ago

Last modified 17 years ago

#94 closed defect

getDi?mension() should return DimensionType — at Version 2

Reported by: mloskot Owned by: mateusz@…
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 (2)

comment:1 by mateusz@…, 18 years ago

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

comment:2 by mloskot, 17 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
Note: See TracTickets for help on using tickets.