Browse Source

Cleanup headers

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1771 0c269be4-1314-0410-8aa9-9f06e86f4224
tags/0.70
sletz 18 years ago
parent
commit
6bc08359aa
4 changed files with 28 additions and 4 deletions
  1. +1
    -0
      common/JackActivationCount.h
  2. +8
    -4
      common/JackAtomic.h
  3. +2
    -0
      common/JackConstants.h
  4. +17
    -0
      common/JackTypes.h

+ 1
- 0
common/JackActivationCount.h View File

@@ -22,6 +22,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.


#include "JackSynchro.h" #include "JackSynchro.h"
#include "JackTime.h" #include "JackTime.h"
#include "JackTypes.h"


namespace Jack namespace Jack
{ {


+ 8
- 4
common/JackAtomic.h View File

@@ -20,13 +20,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#ifndef __JackAtomic__ #ifndef __JackAtomic__
#define __JackAtomic__ #define __JackAtomic__


#include "JackTypes.h"

/*
typedef unsigned short UInt16; typedef unsigned short UInt16;
#if __LP64__ #if __LP64__
typedef unsigned int UInt32;
typedef signed int SInt32;
typedef unsigned int UInt32;
typedef signed int SInt32;
#else #else
typedef unsigned long UInt32;
typedef signed long SInt32;
typedef unsigned long UInt32;
typedef signed long SInt32;
#endif #endif


#ifdef WIN32 #ifdef WIN32
@@ -35,6 +38,7 @@ typedef ULONGLONG UInt64;
#else #else
typedef unsigned long long UInt64; typedef unsigned long long UInt64;
#endif #endif
*/


#if defined(__APPLE__) #if defined(__APPLE__)




+ 2
- 0
common/JackConstants.h View File

@@ -85,12 +85,14 @@ namespace Jack


typedef uint16_t jack_int_t; // Internal type for ports and refnum typedef uint16_t jack_int_t; // Internal type for ports and refnum


/*
typedef enum { typedef enum {
NotTriggered, NotTriggered,
Triggered, Triggered,
Running, Running,
Finished, Finished,
} jack_client_state_t; } jack_client_state_t;
*/


} // end of namespace } // end of namespace




+ 17
- 0
common/JackTypes.h View File

@@ -21,6 +21,23 @@
#ifndef __JackTypes__ #ifndef __JackTypes__
#define __JackTypes__ #define __JackTypes__


typedef unsigned short UInt16;
#if __LP64__
typedef unsigned int UInt32;
typedef signed int SInt32;
#else
typedef unsigned long UInt32;
typedef signed long SInt32;
#endif

#ifdef WIN32
#include <windows.h>
typedef ULONGLONG UInt64;
#else
typedef unsigned long long UInt64;
#endif


namespace Jack namespace Jack
{ {




Loading…
Cancel
Save