MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / Equ

Function Equ

include/daScript/simulate/sim_policy.h:779–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

777 // even more basic
778 static __forceinline void Set ( char * & a, char * b, Context &, LineInfo * ) { a = b;}
779 static __forceinline bool Equ ( char * a, char * b, Context &, LineInfo * ) { return strcmp(to_rts(a), to_rts(b))==0; }
780 static __forceinline bool NotEqu ( char * a, char * b, Context &, LineInfo * ) { return (bool) strcmp(to_rts(a), to_rts(b)); }
781 // basic
782 static __forceinline bool Equ ( vec4f a, vec4f b, Context &, LineInfo * ) { return strcmp(to_rts(a), to_rts(b))==0; }

Callers

nothing calls this directly

Calls 1

to_rtsFunction · 0.85

Tested by

no test coverage detected