GMWolf
aka fel666
gml_prgama always seemed like an odd choice of syntax to me. It looks like a runtime funciton but isnt.
I propose that it gets replaces with more synctax like # macro:
replace:
gml_pragma("forceinline") with #forceinline
gml_pragma("global", "some code") with #global some code
I think this will make these types of compile time directives a lot clearer.
Especially whith "global", where currently the code must be written in a string. Something im sure we all agree is less than ideal.
I believe that now would be the right time to make the change before too much is added onto gml_pragma and making the switch become virtually impossible.
I propose that it gets replaces with more synctax like # macro:
replace:
gml_pragma("forceinline") with #forceinline
gml_pragma("global", "some code") with #global some code
I think this will make these types of compile time directives a lot clearer.
Especially whith "global", where currently the code must be written in a string. Something im sure we all agree is less than ideal.
I believe that now would be the right time to make the change before too much is added onto gml_pragma and making the switch become virtually impossible.