[Bf-committers] SDNA code and starting Python scripts from command line

Gregor Mückl bf-committers@blender.org
Fri, 24 Jan 2003 17:34:58 +0100

Hans Lambermont wrote:

> Gregor M?ckl wrote:
> >understood that hack from the sources. Btw: The way to detect system
> >endianess at runtime is brilliant :)
> You mean the Harbison&Steele method in BKE_endian.h ?

Well, basically yes. But the way this implementation in BKE_endian.h is 
formulated loses much of the beauty. The implementation in 
blenkernel/intern/blender.c lines 205f. is much more elegant (it's 
essentially a two-liner).

> Hans