/usr/include/python2.7/mx/mxProxy.h is in python-egenix-mx-base-dev 3.2.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | #ifndef MXPROXY_H
#define MXPROXY_H
/*
mxProxy -- Proxy wrapper type
Copyright (c) 2000, Marc-Andre Lemburg; mailto:mal@lemburg.com
Copyright (c) 2000-2015, eGenix.com Software GmbH; mailto:info@egenix.com
*/
/* The extension's name; must be the same as the init function's suffix */
#define MXPROXY_MODULE "mxProxy"
/* --- No servicable parts below this line ----------------------*/
/* Include generic mx extension header file */
#include "mxh.h"
#ifdef MX_BUILDING_MXPROXY
# define MXPROXY_EXTERNALIZE MX_EXPORT
#else
# define MXPROXY_EXTERNALIZE MX_IMPORT
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* --- Proxy Object ------------------------------------------*/
/* Note: The objects internal values are only calculated once and
are thereafter considered immutable ! */
typedef struct _mxProxyObject {
PyObject_HEAD
/* Object references that are hidden from the Python programmer */
PyObject *object; /* The wrapped object or the index object
or NULL */
PyObject *interface; /* Dictionary containing names of getattr
accessible attributes or NULL */
PyObject *passobj; /* Object that allows unrestricted access
to the wrapped object */
/* Cached object methods or NULL */
PyObject *public_getattr;
PyObject *public_setattr;
PyObject *cleanup;
/* Pointer to other weak Proxies for this object */
struct _mxProxyObject *next_weak_proxy;
/* Flags */
unsigned isWeak:1; /* object contains the index object or
NULL */
} mxProxyObject;
/* Flag access macros */
#define mxProxy_isWeak(obj) ((obj)->isWeak)
/* EOF */
#ifdef __cplusplus
}
#endif
#endif
|