#FEATURE by cg
authorClaus Gittinger <cg@exept.de>
Sun, 17 Mar 2019 13:00:19 +0100
changeset 23932 01800d8961bd
parent 23931 e56b90ae68bd
child 23933 d2fd46589fe6
#FEATURE by cg class: ExternalBytes class removed: #nativeByteOrder not needed
ExternalBytes.st
--- a/ExternalBytes.st	Sun Mar 17 12:57:59 2019 +0100
+++ b/ExternalBytes.st	Sun Mar 17 13:00:19 2019 +0100
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -690,28 +688,6 @@
     "
 !
 
-nativeByteOrder
-    "returns the underlying CPU's native byte order as
-     a symbol; either #msb or #lsb"
-
-%{ /* NOCONTEXT */
-#ifndef __SCHTEAM__
-# ifdef __LSBFIRST__
-    RETURN ( @symbol(lsb) );
-# else
-    RETURN ( @symbol(msb) );
-# endif
-#endif
-%}.
-    self primitiveFailed.
-
-    "
-     ExternalBytes nativeByteOrder
-    "
-
-    "Created: / 17-03-2019 / 12:57:28 / Claus Gittinger"
-!
-
 pointerAlignment
     "return the alignement of pointers in structs and unions"