MCPcopy Create free account
hub / github.com/ejoy/ejoy2d / l_strcmp

Function l_strcmp

lua/lvm.c:240–260  ·  view source on GitHub ↗

** Compare two strings 'ls' x 'rs', returning an integer smaller-equal- ** -larger than zero if 'ls' is smaller-equal-larger than 'rs'. ** The code is a little tricky because it allows '\0' in the strings ** and it uses 'strcoll' (to respect locales) for each segments ** of the strings. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

luaV_lessthanFunction · 0.85
luaV_lessequalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected