function y = gethackflag(X)
%GETHACKFLAG Internal function to extract constraint type

% Author Johan Löfberg 
% $Id: gethackflag.m,v 1.2 2004/07/01 11:17:10 johanl Exp $  

y = X.typeflag;
