diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:45:11 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2019-06-28 23:45:11 +0000 |
commit | cdf6e0151411d887fef61245cb303ef190b29335 (patch) | |
tree | 678c2212e125e66e0a868773e2b4ec460794da4e /lib/util/wordaccess_generic.h | |
parent | de1311e820dc892f1a3c5c9ae70dbc56868030d8 (diff) | |
download | netpbm-mirror-cdf6e0151411d887fef61245cb303ef190b29335.tar.gz netpbm-mirror-cdf6e0151411d887fef61245cb303ef190b29335.tar.xz netpbm-mirror-cdf6e0151411d887fef61245cb303ef190b29335.zip |
Promote Advanced to Stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@3641 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/util/wordaccess_generic.h')
-rw-r--r-- | lib/util/wordaccess_generic.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/util/wordaccess_generic.h b/lib/util/wordaccess_generic.h deleted file mode 100644 index 6e0a20ef..00000000 --- a/lib/util/wordaccess_generic.h +++ /dev/null @@ -1,29 +0,0 @@ -/*============================================================================= - - This file is the part of wordaccess.h for use under any of these - conditions: - - * Compiler other than GCC - * GCC before version 3.4 - * Requested by the user with WORDACCESS_GENERIC -=============================================================================*/ - -#include "intcode.h" - -typedef uint32_t wordint; -typedef unsigned char wordintBytes[sizeof(wordint)]; - - -static __inline__ wordint -bytesToWordint(wordintBytes const bytes) { - - return (wordint) pm_uintFromBigend32( * (bigend32*) bytes); -} - - -static __inline__ void -wordintToBytes(wordintBytes * const bytesP, - wordint const wordInt) { - - * (bigend32*) bytesP = pm_bigendFromUint32((uint32_t)wordInt); -} |