X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fmoof%2Fcml%2Fcore%2Fcommon.h;fp=src%2Fmoof%2Fcml%2Fcore%2Fcommon.h;h=0000000000000000000000000000000000000000;hb=6b0a0d0efafe34d48ab344fca3b479553bd4e62c;hp=01b3f7ebea98d19e278f509bda98e9de7e5173e6;hpb=85783316365181491a3e3c0c63659972477cebba;p=chaz%2Fyoink diff --git a/src/moof/cml/core/common.h b/src/moof/cml/core/common.h deleted file mode 100644 index 01b3f7e..0000000 --- a/src/moof/cml/core/common.h +++ /dev/null @@ -1,87 +0,0 @@ -/* -*- C++ -*- ------------------------------------------------------------ - -Copyright (c) 2007 Jesse Anders and Demian Nave http://cmldev.net/ - -The Configurable Math Library (CML) is distributed under the terms of the -Boost Software License, v1.0 (see cml/LICENSE for details). - - *-----------------------------------------------------------------------*/ -/** @file - * @brief - */ - -#ifndef core_common_h -#define core_common_h - -// XXX This isn't really the right place for this. -#if defined(_MSC_VER) -#include -#ifndef _SSIZE_T_DEFINED -#ifdef _WIN64 -typedef __int64 ssize_t; -#else -typedef _W64 int ssize_t; -#endif -#define _SSIZE_T_DEFINED -#endif -#endif - -#include // for size_t -#include // for std::pair<> -#include - -namespace cml { - -/** 1D tag (to select array shape). */ -struct oned_tag {}; - -/** 2D tag (to select array shape). */ -struct twod_tag {}; - -/** Statically-allocated memory tag. */ -struct fixed_memory_tag {}; - -/** Dynamically-allocated memory tag. */ -struct dynamic_memory_tag {}; - -/** Externally-allocated memory tag. */ -struct external_memory_tag {}; - -/** Statically-sized tag. */ -struct fixed_size_tag {}; - -/** Runtime-sized tag. */ -struct dynamic_size_tag {}; - -/** Resizable tag. */ -struct resizable_tag {}; - -/** Not resizable tag. */ -struct not_resizable_tag {}; - -/** Unit-sized tag. */ -struct unit_size_tag {}; - -/** Row-major storage tag. */ -struct row_major {}; - -/** Col-major storage tag. */ -struct col_major {}; - -/** Row-vector matrix basis tag. */ -struct row_basis {}; - -/** Column-vector matrix basis tag. */ -struct col_basis {}; - -/* This is the pair returned from the matrix size() method, as well as from - * the matrix expression size checking code: - */ -typedef std::pair matrix_size; - -} // namespace cml - -#endif - -// ------------------------------------------------------------------------- -// vim:ft=cpp