KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /usr/share/swig/1.3.29/allegrocl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/swig/1.3.29/allegrocl/longlongs.i
/* -----------------------------------------------------------------------------
 * See the LICENSE file for information on copyright, usage and redistribution
 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
 *
 * longlongs.i
 *
 * Typemap addition for support of 'long long' type and 'unsigned long long 
 * Makes use of swig-def-foreign-class, so this header should be loaded
 * after allegrocl.swg and after any custom user identifier-conversion
 * functions have been defined.
 * ----------------------------------------------------------------------------- */

%typemap(in) long long, unsigned long long "$1 = $input;";
%typemap(out) long long, unsigned long long "$result = &$1;";

%typemap(ffitype) long long "(:struct (l1 :long) (l2 :long))";
%typemap(ffitype) unsigned long long "(:struct (l1 :unsigned-long)
         (l2 :unsigned-long))";

%typemap(lout) long long 
"  (make-instance #.(swig-insert-id \"longlong\" () :type :class)
                  :foreign-address $body)";
%typemap(lout) unsigned long long
"  (make-instance #.(swig-insert-id \"ulonglong\" () :type :class)
                  :foreign-address $body)";

%insert("lisphead") %{

(swig-def-foreign-class "longlong"
 (ff:foreign-pointer)
 (:struct (:struct (l1 :long) (l2 :long))))

(swig-def-foreign-class "ulonglong"
 (ff:foreign-pointer)
 (:struct (:struct (l1 :unsigned-long) (l2 :unsigned-long))))
%}

Anon7 - 2021