New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MapScript] Inconsistent return values (0/-1 vs MS_SUCCESS/FAILURE) #244
Comments
Author: dmorissette
|
Author: jlacroix
|
Author: dmorissette
|
Author: hobu |
Author: hobu |
Author: dmorissette |
Author: dmorissette |
Author: dmorissette |
Reporter: dmorissette
Date: 2002/12/10 - 14:27
Trac URL: http://trac.osgeo.org/mapserver/ticket/244
This is a problem that's been around for quite a while: some functions in
MapScript return 0/-1, and others return MS_SUCCESS/MS_FAILURE.
We should eventually walk through the MapScript API and list all functions that
still return 0/-1. Then for every function we should make required changes to
return MS_SUCCESS/FAILURE and also make sure that we look for and update every
location where the function is called.
We have talked about this between me and Steve, and it would be a good idea to
clean this us before the 3.7 release if possible.
The text was updated successfully, but these errors were encountered: