Remove additional unneeded tq method conversions

pull/1/head
Timothy Pearson 13 years ago
parent bdff7895a8
commit c5c1052f4b

@ -664,7 +664,7 @@ gsl_engine_init (gboolean run_threaded,
gsl_engine_threaded = run_threaded; gsl_engine_threaded = run_threaded;
gsl_externvar_bsize = block_size; gsl_externvar_bsize = block_size;
gsl_externvar_sample_freq = sample_freq; gsl_externvar_sample_freq = sample_freq;
gsl_externvar_sub_sample_mask = sub_sample_mask << 2; /* shift out sizeof (float) tqalignment */ gsl_externvar_sub_sample_mask = sub_sample_mask << 2; /* shift out sizeof (float) alignment */
gsl_externvar_sub_sample_steps = sub_sample_mask + 1; gsl_externvar_sub_sample_steps = sub_sample_mask + 1;
_gsl_tick_stamp_set_leap (block_size); _gsl_tick_stamp_set_leap (block_size);

@ -201,7 +201,7 @@ typedef struct
static GslErrorType static GslErrorType
wav_read_data_header (gint fd, wav_read_data_header (gint fd,
DataHeader *header, DataHeader *header,
guint byte_tqalignment) guint byte_alignment)
{ {
guint n_bytes; guint n_bytes;
@ -241,12 +241,12 @@ wav_read_data_header (gint fd,
WAV_DEBUG ("failed to seek while skipping sub-chunk"); WAV_DEBUG ("failed to seek while skipping sub-chunk");
return GSL_ERROR_IO; return GSL_ERROR_IO;
} }
return wav_read_data_header (fd, header, byte_tqalignment); return wav_read_data_header (fd, header, byte_alignment);
} }
if (header->data_length < 1 || header->data_length % byte_tqalignment != 0) if (header->data_length < 1 || header->data_length % byte_alignment != 0)
{ {
WAV_DEBUG ("invalid data length (%u) or tqalignment (%u)", WAV_DEBUG ("invalid data length (%u) or alignment (%u)",
header->data_length, header->data_length % byte_tqalignment); header->data_length, header->data_length % byte_alignment);
return GSL_ERROR_FORMAT_INVALID; return GSL_ERROR_FORMAT_INVALID;
} }

@ -158,7 +158,7 @@ static void
_engine_schedule_grow (EngineSchedule *sched, _engine_schedule_grow (EngineSchedule *sched,
guint leaf_level) guint leaf_level)
{ {
guint ll = 1 << g_bit_storage (leaf_level); /* power2 growth tqalignment, ll >= leaf_level+1 */ guint ll = 1 << g_bit_storage (leaf_level); /* power2 growth alignment, ll >= leaf_level+1 */
if (sched->leaf_levels < ll) if (sched->leaf_levels < ll)
{ {

@ -1127,7 +1127,7 @@ Object_stub::Object_stub(Connection *connection, long objectID)
Object_stub::~Object_stub() Object_stub::~Object_stub()
{ {
/* /*
* tqinvalidate method lookup cache entries of this object, as it might * invalidate method lookup cache entries of this object, as it might
* happen, that another Object_stub is created just at the same position * happen, that another Object_stub is created just at the same position
*/ */
if(_lookupMethodCache) if(_lookupMethodCache)

@ -157,7 +157,7 @@ struct TestWrapper : public TestCase
d.value(6); d.value(6);
testEquals(1, active_d_objects); testEquals(1, active_d_objects);
b = d; // uses operator, not constructor. should tqinvalidate A::cacheOK b = d; // uses operator, not constructor. should invalidate A::cacheOK
testEquals(6, b.value()); testEquals(6, b.value());
testEquals(1, active_d_objects); testEquals(1, active_d_objects);

Loading…
Cancel
Save