Linux server2.hpierson.com 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
Apache
: 162.0.216.123 | : 216.73.216.152
28 Domain
?7.4.33
yvffpqmy
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 /
swig /
2.0.10 /
guile /
[ HOME SHELL ]
Name
Size
Permission
Action
common.scm
2.33
KB
-rw-r--r--
cplusplus.i
755
B
-rw-r--r--
guile.i
1.05
KB
-rw-r--r--
guile_scm.swg
1.19
KB
-rw-r--r--
guile_scm_run.swg
14.06
KB
-rw-r--r--
guilemain.i
1.03
KB
-rw-r--r--
interpreter.i
1.39
KB
-rw-r--r--
list-vector.i
17.81
KB
-rw-r--r--
pointer-in-out.i
3.25
KB
-rw-r--r--
ports.i
1.3
KB
-rw-r--r--
std_common.i
578
B
-rw-r--r--
std_deque.i
28
B
-rw-r--r--
std_except.i
182
B
-rw-r--r--
std_map.i
59.74
KB
-rw-r--r--
std_pair.i
39.82
KB
-rw-r--r--
std_string.i
2.28
KB
-rw-r--r--
std_vector.i
16.5
KB
-rw-r--r--
stl.i
357
B
-rw-r--r--
swigrun.i
965
B
-rw-r--r--
typemaps.i
14.96
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_string.i
/* ----------------------------------------------------------------------------- * std_string.i * * SWIG typemaps for std::string * ----------------------------------------------------------------------------- */ // ------------------------------------------------------------------------ // std::string is typemapped by value // This can prevent exporting methods which return a string // in order for the user to modify it. // However, I think I'll wait until someone asks for it... // ------------------------------------------------------------------------ %include <exception.i> %{ #include <string> %} namespace std { %naturalvar string; class string; %typemap(typecheck) string = char *; %typemap(typecheck) const string & = char *; %typemap(in) string (char * tempptr) { if (scm_is_string($input)) { tempptr = SWIG_scm2str($input); $1.assign(tempptr); if (tempptr) SWIG_free(tempptr); } else { SWIG_exception(SWIG_TypeError, "string expected"); } } %typemap(in) const string & ($*1_ltype temp, char *tempptr) { if (scm_is_string($input)) { tempptr = SWIG_scm2str($input); temp.assign(tempptr); if (tempptr) SWIG_free(tempptr); $1 = &temp; } else { SWIG_exception(SWIG_TypeError, "string expected"); } } %typemap(in) string * (char *tempptr) { if (scm_is_string($input)) { tempptr = SWIG_scm2str($input); $1 = new $*1_ltype(tempptr); if (tempptr) SWIG_free(tempptr); } else { SWIG_exception(SWIG_TypeError, "string expected"); } } %typemap(out) string { $result = SWIG_str02scm($1.c_str()); } %typemap(out) const string & { $result = SWIG_str02scm($1->c_str()); } %typemap(out) string * { $result = SWIG_str02scm($1->c_str()); } %typemap(varin) string { if (scm_is_string($input)) { char *tempptr = SWIG_scm2str($input); $1.assign(tempptr); if (tempptr) SWIG_free(tempptr); } else { SWIG_exception(SWIG_TypeError, "string expected"); } } %typemap(varout) string { $result = SWIG_str02scm($1.c_str()); } }
Close