threads::shared 1.24 (phase 2)
[p5sagit/p5-mst-13.2.git] / ext / Devel / PPPort / module2.c
1 /*******************************************************************************
2 *
3 *  Perl/Pollution/Portability
4 *
5 ********************************************************************************
6 *
7 *  $Revision: 10 $
8 *  $Author: mhx $
9 *  $Date: 2008/01/04 10:47:38 +0100 $
10 *
11 ********************************************************************************
12 *
13 *  Version 3.x, Copyright (C) 2004-2008, Marcus Holland-Moritz.
14 *  Version 2.x, Copyright (C) 2001, Paul Marquess.
15 *  Version 1.x, Copyright (C) 1999, Kenneth Albanowski.
16 *
17 *  This program is free software; you can redistribute it and/or
18 *  modify it under the same terms as Perl itself.
19 *
20 *******************************************************************************/
21
22 #include "EXTERN.h"
23 #include "perl.h"
24 #include "XSUB.h"
25
26 #ifndef PATCHLEVEL
27 #include "patchlevel.h"
28 #endif
29
30 #define NEED_newCONSTSUB_GLOBAL
31 #define NEED_PL_signals_GLOBAL
32 #include "ppport.h"
33
34 void call_newCONSTSUB_2(void)
35 {
36   newCONSTSUB(gv_stashpv("Devel::PPPort", FALSE), "test_value_2", newSViv(2));
37 }
38
39 U32 get_PL_signals_2(void)
40 {
41   return PL_signals;
42 }