File: IPC.xs

package info (click to toggle)
libwx-perl 1%3A0.9923-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 4,236 kB
  • ctags: 2,407
  • sloc: cpp: 11,021; perl: 8,615; ansic: 710; makefile: 48
file content (40 lines) | stat: -rw-r--r-- 965 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/////////////////////////////////////////////////////////////////////////////
// Name:        ext/ipc/IPC.xs
// Purpose:     XS for Inter-Process Communication Framework
// Author:      Mark Dootson
// Modified by:
// Created:     13 April 2013
// SVN-ID:      $Id:$
// Copyright:   (c) 2013 Mattia Barbon
// Licence:     This program is free software; you can redistribute it and/or
//              modify it under the same terms as Perl itself
/////////////////////////////////////////////////////////////////////////////

#define PERL_NO_GET_CONTEXT

#include "cpp/wxapi.h"
#include "cpp/constants.h"
#include "cpp/overload.h"

#undef THIS

MODULE=Wx__IPC

BOOT:
  INIT_PLI_HELPERS( wx_pli_helpers );

#if wxPERL_USE_IPC

INCLUDE_COMMAND: $^X -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t ../../typemap.xsp XS/IPC.xsp

#include "cpp/ovl_const.cpp"

#endif

#  //FIXME//tricky
#if defined(__WXMSW__)
#undef XS
#define XS( name ) WXXS( name )
#endif

MODULE=Wx__IPC