mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
7ff91665cf
Java inlines static finals if they're defined with a constant expression. In case of version constants we don't want that to happen, since they obviously change from version to version. If the user substitutes a different OpenCV jar without recompiling, we want user code to still have relevant values for the version constants. This arranges that by turning constant values into function calls, which no longer count as a constant expression. |
||
---|---|---|
.. | ||
config | ||
src | ||
gen_java.py | ||
gen_javadoc.py | ||
rst_parser.py |