Commit bbbfa008 authored by Maxime Perrotin's avatar Maxime Perrotin

Use proper casing for timer Set and Reset imports

parent 89164b55
......@@ -41,12 +41,13 @@ compile-all:
@mv sdl92*.py opengeode
@git submodule update --remote
git pull
#@git submodule update --remote
@pip2 install --user --upgrade ./antlr3-python
@pip2 install --user --upgrade ./singledispatch
@pip2 install --user --upgrade ./enum34
@pip2 install --user --upgrade singledispatch
@pip2 install --user --upgrade enum34
@pip2 install --user --upgrade ./speedometer
#@pip2 install --user --upgrade ./properties
@pip3 install --user --upgrade ./dmt
......@@ -122,6 +122,8 @@ The background pattern was downloaded from
2.1.2 (10/2019)
- Change import name case for set/reset of timer (for taste compatibility)
2.1.1 (10/2019)
- Create cache folder if it was missing
......@@ -932,11 +932,11 @@ package {process_name} is'''.format(generic=generic_spec,
u'procedure SET_{}(val: access asn1SccT_UInt32);'.format(timer))
u'pragma import(C, SET_{timer}, "{proc}_RI_set_{timer}");'
u'pragma Import(C, SET_{timer}, "{proc}_RI_SET_{timer}");'
.format(timer=timer, proc=process_name))
ads_template.append(u'procedure RESET_{};'.format(timer))
u'pragma import(C, RESET_{timer}, "{proc}_RI_reset_{timer}");'
u'pragma Import(C, RESET_{timer}, "{proc}_RI_RESET_{timer}");'
.format(timer=timer, proc=process_name))
# Generic functions get the SET and RESET from template
......@@ -141,7 +141,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '2.1.1'
__version__ = '2.1.2'
if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment