Skip to content
Snippets Groups Projects
Commit d4fc5f7e authored by rds's avatar rds
Browse files

- Added client_{request,response}_name

- Fixed compiling with -pthread for threaded versions of perl (see comments)
parent 185df25f
No related branches found
No related tags found
No related merge requests found
/* Last edited: Apr 13 17:25 2005 (rds) */
/* Last edited: Jun 9 14:09 2005 (rds) */
/* Hej, Emacs, this is -*- C -*- mode! */
/* This is before the perl code includes as, as Ed and I have found
pthreads.h and gtk.h have some weird interaction. I found this
when compiling on alpha for perl5.8.0 (alpha-dec_osf-
thread-multi-ld). The symptom was a complaint about (* leave) in
gtkbutton.h . This simple move has */
#include <ZMap/zmapXRemote.h> /* all the ZMap stuff we need */
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <ZMap/zmapXRemote.h> /* all the ZMap stuff we need */
typedef zMapXRemoteObj X11__XRemote__Handle;
MODULE = X11::XRemote PACKAGE = X11::XRemote
......@@ -33,6 +38,20 @@ version(...)
OUTPUT:
RETVAL
char *
client_request_name(...)
CODE:
RETVAL = ZMAP_CLIENT_REQUEST_ATOM_NAME;
OUTPUT:
RETVAL
char *
client_response_name(...)
CODE:
RETVAL = ZMAP_CLIENT_RESPONSE_ATOM_NAME;
OUTPUT:
RETVAL
MODULE = X11::XRemote PACKAGE = X11::XRemote::Handle
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment