diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2006-06-27 22:46:00 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2006-06-27 22:46:00 +0000 |
commit | 322c35047c31bb9ead78ab25b33881f87203206e (patch) | |
tree | 05e30a548c4bff94b9e5ce3f42cd830ee25f3069 /externals/grill/flext/source | |
parent | 9cd92bc740e3f23663f4809fb60a500702e9c0b3 (diff) |
more robust structure pack setting for Max/MSP @ Windows
fix for 64 bit code
fixed bug for Max/MSP when there's no signal inlet
changes for Mac/Intel
svn path=/trunk/; revision=5307
Diffstat (limited to 'externals/grill/flext/source')
-rw-r--r-- | externals/grill/flext/source/flcontainers.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/externals/grill/flext/source/flcontainers.h b/externals/grill/flext/source/flcontainers.h index ece3009e..43ea03ed 100644 --- a/externals/grill/flext/source/flcontainers.h +++ b/externals/grill/flext/source/flcontainers.h @@ -2,7 +2,7 @@ flext - C++ layer for Max/MSP and pd (pure data) externals
-Copyright (c) 2001-2005 Thomas Grill (gr@grrrr.org)
+Copyright (c) 2001-2006 Thomas Grill (gr@grrrr.org)
For information on usage and redistribution, and for a DISCLAIMER OF ALL
WARRANTIES, see the file, "license.txt," in this distribution.
@@ -149,16 +149,16 @@ public: "movl 4(%%esi), %%edx \n\t"
"movl (%%esi), %%eax \n\t"
"testl %%eax, %%eax \n\t"
- "jz 20f \n"
- "10: \t"
+ "jz 2f \n"
+ "1: \t"
"movl (%%eax), %%ebx \n\t"
"movl %%edx, %%ecx \n\t"
"incl %%ecx \n\t"
SMPLOCK "cmpxchg8b (%%esi) \n\t"
- "jz 20f \n\t"
+ "jz 2f \n\t"
"testl %%eax, %%eax \n\t"
- "jnz 10b \n"
- "20: \t"
+ "jnz 1b \n"
+ "2: \t"
"popl %%ecx \n\t"
"popl %%ebx \n\t"
:"=a" (v)
@@ -221,16 +221,16 @@ public: "mov 8(%%rsi), %%rdx \n\t"
"mov (%%rsi), %%rax \n\t"
"test %%rax, %%rax \n\t"
- "jz 20f \n"
- "10: \t"
+ "jz 2f \n"
+ "1: \t"
"mov (%%rax), %%rbx \n\t"
"mov %%rdx, %%rcx \n\t"
"inc %%rcx \n\t"
SMPLOCK "cmpxchg16b (%%rsi) \n\t"
- "jz 20f \n\t"
+ "jz 2f \n\t"
"test %%rax, %%rax \n\t"
- "jnz 10b \n"
- "20: \t"
+ "jnz 1b \n"
+ "2: \t"
"pop %%rcx \n\t"
"pop %%rbx \n\t"
:"=a" (v)
|