Browse Source

Documentation fixes.

tags/2021-05-28
jules 12 years ago
parent
commit
9de1ab563b
2 changed files with 6 additions and 2 deletions
  1. +5
    -0
      modules/juce_core/juce_core.h
  2. +1
    -2
      modules/juce_core/threads/juce_ReadWriteLock.h

+ 5
- 0
modules/juce_core/juce_core.h View File

@@ -40,6 +40,11 @@ namespace DummyNamespaceStatementToCatchSyntaxErrors {}
different memory layouts, leading to very nasty memory corruption errors when they all get
linked together. That's why it's best to always include the Introjucer-generated AppConfig.h
file before any juce headers.
Note that if you do have an AppConfig.h file and hit this warning, it means that it doesn't
contain the JUCE_MODULE_AVAILABLE_xxx flags, which are necessary for some inter-module
functionality to work correctly. In that case, you should either rebuild your AppConfig.h with
the latest introjucer, or fix it manually to contain these flags.
*/
#ifdef _MSC_VER
#pragma message ("Have you included your AppConfig.h file before including the JUCE headers?")


+ 1
- 2
modules/juce_core/threads/juce_ReadWriteLock.h View File

@@ -82,8 +82,7 @@ public:
/** Tries to lock this object for reading.
Multiple threads can simulaneously lock the object for reading, but if another
thread has it locked for writing, then this will block until it releases the
lock.
thread has it locked for writing, then this will fail and return false.
@returns true if the lock is successfully gained.
@see exitRead, ScopedReadLock


Loading…
Cancel
Save