Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

38 lines (27 sloc) 0.689 kb
//
// ULINSIntegerMath.h
// Stacksmith
//
// Created by Uli Kusterer on 16.10.11.
// Copyright (c) 2011 Uli Kusterer. All rights reserved.
//
#ifndef Stacksmith_ULINSIntegerMath_h
#define Stacksmith_ULINSIntegerMath_h
#include <Foundation/Foundation.h>
#if __cplusplus
extern "C" {
#endif
static inline NSInteger ULINSIntegerMinimum( NSInteger a, NSInteger b );
static inline NSInteger ULINSIntegerMinimum( NSInteger a, NSInteger b )
{
return ((a < b) ? a : b);
}
static inline NSInteger ULINSIntegerMaximum( NSInteger a, NSInteger b );
static inline NSInteger ULINSIntegerMaximum( NSInteger a, NSInteger b )
{
return ((a > b) ? a : b);
}
#if __cplusplus
}
#endif
#endif
Jump to Line
Something went wrong with that request. Please try again.