diff options
author | José Fonseca <[email protected]> | 2008-08-14 12:50:52 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-08-15 10:35:18 +0100 |
commit | 196167e9d5c84f9f6dfe6f15b3e2f2c3ec6825dc (patch) | |
tree | ad5899807c7bb563edc35e5b7f62f2a2abe96ab7 /src/gallium/drivers/trace/tr_stream.h | |
parent | 2f34c851c01321b177bc3074755e97af270ec994 (diff) |
trace: Make stream a global variable.
This not only simplifies the code, but allows to use atexit() to ensure
the log is closed when applications don't exit cleanly.
Diffstat (limited to 'src/gallium/drivers/trace/tr_stream.h')
-rw-r--r-- | src/gallium/drivers/trace/tr_stream.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_stream.h b/src/gallium/drivers/trace/tr_stream.h index d50fed26917..53e854aa913 100644 --- a/src/gallium/drivers/trace/tr_stream.h +++ b/src/gallium/drivers/trace/tr_stream.h @@ -4,7 +4,7 @@ * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a - * copy of this software and associated documentation streams (the + * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sub license, and/or sell copies of the Software, and to @@ -28,6 +28,9 @@ /** * @file * Cross-platform sequential access stream abstraction. + * + * These are really general purpose file access functions, and might one day + * be moved into the util module. */ #ifndef TR_STREAM_H |