rust/hedgewars-server/src/core.rs
author sheepluva
Mon, 05 Aug 2019 00:20:45 +0200
changeset 15316 f382ec6dba11
parent 15141 febccab419b1
child 15542 fd3a20e9d095
permissions -rw-r--r--
In hindsight my emscripten-ifdef (70d416a8f63f) is nonsense. As fpcrtl_glShaderSource() would not be defined and lead to compiling issues. So either it's 3 ifdefs (in pas2cRedo, pas2cSystem and misc.c), in order to toggle between fpcrtl_ and the native function, or alternatively have no ifdef for it at all. I'm going with none at all, which means emscripten will compile with the original (const) function prototype, being wrapped by the fpcrtl_ function, same as non-emscripten builds.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15141
febccab419b1 Apply dos2unix to rust sources
unc0rr
parents: 15096
diff changeset
     1
pub mod client;
febccab419b1 Apply dos2unix to rust sources
unc0rr
parents: 15096
diff changeset
     2
pub mod indexslab;
febccab419b1 Apply dos2unix to rust sources
unc0rr
parents: 15096
diff changeset
     3
pub mod room;
febccab419b1 Apply dos2unix to rust sources
unc0rr
parents: 15096
diff changeset
     4
pub mod server;
febccab419b1 Apply dos2unix to rust sources
unc0rr
parents: 15096
diff changeset
     5
pub mod types;