ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/cfperl.xs
(Generate patch)

Comparing deliantra/server/server/cfperl.xs (file contents):
Revision 1.124 by root, Mon Jan 1 00:41:03 2007 UTC vs.
Revision 1.125 by root, Thu Jan 4 00:53:54 2007 UTC

31#include <cstdarg> 31#include <cstdarg>
32#include <sproto.h> 32#include <sproto.h>
33 33
34#include "cfperl.h" 34#include "cfperl.h"
35#include "shstr.h" 35#include "shstr.h"
36
37#include <unistd.h>
38#if _POSIX_MEMLOCK
39# include <sys/mman.h>
40#endif
36 41
37#include <EXTERN.h> 42#include <EXTERN.h>
38#include <perl.h> 43#include <perl.h>
39#include <XSUB.h> 44#include <XSUB.h>
40 45
1603 1608
1604void emergency_save () 1609void emergency_save ()
1605 1610
1606void _exit (int status = 0) 1611void _exit (int status = 0)
1607 1612
1613#if _POSIX_MEMLOCK
1614
1615int mlockall (int flags = MCL_CURRENT | MCL_FUTURE)
1616
1617int munlockall ()
1618
1619#endif
1620
1608int find_animation (char *text) 1621int find_animation (char *text)
1609 PROTOTYPE: $ 1622 PROTOTYPE: $
1610 1623
1611int random_roll (int min, int max, object *op, int goodbad); 1624int random_roll (int min, int max, object *op, int goodbad);
1612 1625

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines