Page MenuHomePhabricator

Make ImportMemoryManagementType strongly typed enum
Closed, WontfixPublic


Currently ImportMemoryManagementType used in parameters of methods like setImportSlice is implemented as enum and therefore can be misinterpreted to an integer. SetImportSlice e.g. has 3 integer parameters (s, t, n) where the memmory management value is interpreted as s, t or n instead of managedMemoryType if used incorrectly.

We should make ImportMemoryManagementType a strongly typed enum to prevent users from using these methods incorrectly.

Event Timeline

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.