Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Aug 20, 2011
1 parent 1bac52d commit 61bc31c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions doomsday/CMakeLists.txt
Expand Up @@ -65,14 +65,14 @@ OPTION (ENABLENETDEBUG "Turn on internal network debugging features. Default OFF
OPTION (ENABLERANGECHECKING "Turn on internal range checking features. Default OFF" OFF)
OPTION (ENABLEPROFILE "Turn on internal profiling features. Default OFF" OFF)
OPTION (INSTALLSNOWBERRY "Include Snowberry and associated files in installation." ON)
OPTION (WRITERTYPECHECK "Check that Reader/Writer types are correct." OFF)
OPTION (ENABLEWRITERTYPECHECK "Check that Reader/Writer types are correct." OFF)

#MARK_AS_ADVANCED (BUILDJDOOM64)
MARK_AS_ADVANCED (ENABLEMAO)
MARK_AS_ADVANCED (ENABLENETDEBUG)
MARK_AS_ADVANCED (ENABLEPROFILE)
MARK_AS_ADVANCED (ENABLERANGECHECKING)
MARK_AS_ADVANCED (WRITERTYPECHECK)
MARK_AS_ADVANCED (ENABLEWRITERTYPECHECK)

IF (${CMAKE_BINARY_DIR} STREQUAL ${CMAKE_SOURCE_DIR})
MESSAGE( FATAL_ERROR "In-tree Builds are NOT supported. cd ${CMAKE_SOURCE_DIR}/build and try again")
Expand Down Expand Up @@ -473,7 +473,7 @@ ELSE()
MESSAGE(STATUS "Doomsday build text not defined.")
ENDIF()

IF(WRITERTYPECHECK)
IF(ENABLEWRITERTYPECHECK)
ADD_DEFINITIONS( -DDENG_WRITER_TYPECHECK )
ENDIF()

Expand Down Expand Up @@ -615,7 +615,7 @@ MESSAGE( STATUS "BUILDDEDICATED: " ${BUILDDEDICATED} )
MESSAGE( STATUS "BUILDDOX: " ${BUILDDOX} )
MESSAGE( STATUS "BUILDFIXEDASM: " ${BUILDFIXEDASM} )
MESSAGE( STATUS "BUILDSYSTEM: " ${BUILDSYSTEM} )
MESSAGE( STATUS "WRITERTYPECHECK: " ${WRITERTYPECHECK} )
MESSAGE( STATUS "ENABLEWRITERTYPECHECK: " ${ENABLEWRITERTYPECHECK} )
MESSAGE( STATUS "CMAKE_INSTALL_PREFIX " ${CMAKE_INSTALL_PREFIX} )
MESSAGE( STATUS "DENG_BASE_DIR " ${datadir} )
MESSAGE( STATUS "DENG_LIBRARY_DIR " ${libdir} )
Expand Down
4 changes: 2 additions & 2 deletions doomsday/engine/api/reader.h
Expand Up @@ -35,15 +35,15 @@ typedef struct reader_s Reader;

/**
* Constructs a new reader. The reader will use the engine's netBuffer
* as the reading buffer. The reader has to be destroyed with Reader_Destruct()
* as the reading buffer. The reader has to be destroyed with Reader_Delete()
* after it is not needed any more.
*/
Reader* Reader_New(void);

/**
* Initializes the reader. The reader will use @a buffer as the reading buffer.
* The buffer is expected to use network byte order. The reader has to be destroyed
* with Reader_Destruct() after it is not needed any more.
* with Reader_Delete() after it is not needed any more.
*
* @param buffer Buffer to use for reading.
* @param len Length of the buffer.
Expand Down
4 changes: 2 additions & 2 deletions doomsday/engine/api/writer.h
Expand Up @@ -50,15 +50,15 @@ typedef struct writer_s Writer;

/**
* Constructs a new writer. The writer will use the engine's netBuffer
* as the writing buffer. The writer has to be destroyed with Writer_Destruct()
* as the writing buffer. The writer has to be destroyed with Writer_Delete()
* after it is not needed any more.
*/
Writer* Writer_New(void);

/**
* Constructs a new writer. The writer will use @a buffer as the writing buffer.
* The buffer will use network byte order. The writer has to be destroyed
* with Writer_Destruct() after it is not needed any more.
* with Writer_Delete() after it is not needed any more.
*
* @param buffer Buffer to use for reading.
* @param maxLen Maximum length of the buffer.
Expand Down

0 comments on commit 61bc31c

Please sign in to comment.