001    /*
002     * To change this template, choose Tools | Templates
003     * and open the template in the editor.
004     */
005    
006    package org.bridj;
007    
008    /**
009     * Wraps a value which size is the same as the 'long' C type (32 bits on a 32 bits platform, 64 bits on a 64 bits platform with GCC and still 32 bits with MSVC++ on 64 bits platforms)
010     * @author Olivier
011     */
012    public final class CLong extends AbstractIntegral {
013        
014            public static final int SIZE = Platform.CLONG_SIZE;
015            
016            private static final long serialVersionUID = 1542942327767932396L;
017        public CLong(long value) {
018            super(value);
019        }
020        
021        public static CLong valueOf(long value) {
022                    return new CLong(value);
023        }
024    }