ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.331 by root, Mon Nov 19 00:10:34 2018 UTC vs.
Revision 1.333 by root, Mon Nov 19 01:23:01 2018 UTC

77# include <netinet/tcp.h> 77# include <netinet/tcp.h>
78# include <inttypes.h> 78# include <inttypes.h>
79#endif 79#endif
80 80
81#include "ecb.h" 81#include "ecb.h"
82#include "salloc.h"
82 83
83#define OBJ_STR "\xef\xbf\xbc" /* U+FFFC, object replacement character */ 84#define OBJ_STR "\xef\xbf\xbc" /* U+FFFC, object replacement character */
84 85
85/* this is used as fow flag as well, so has to have a different value */ 86/* this is used as fow flag as well, so has to have a different value */
86/* then anything that is computed by incoming darkness */ 87/* then anything that is computed by incoming darkness */
865NV floor (NV x) 866NV floor (NV x)
866 867
867NV ceil (NV x) 868NV ceil (NV x)
868 869
869IV minpot (UV n) 870IV minpot (UV n)
871
872UV ld32 (UV n)
873 CODE:
874 RETVAL = ecb_ld32 (n);
875 OUTPUT:
876 RETVAL
870 877
871IV popcount (UV n) 878IV popcount (UV n)
872 CODE: 879 CODE:
873 RETVAL = ecb_popcount32 (n); 880 RETVAL = ecb_popcount32 (n);
874 OUTPUT: 881 OUTPUT:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines