java: Changed size_t and unsigned int to int in array declarations. Renamed buf to buffer where necesarry. Moved most Java array typemaps to java_buffer.i. Fixed some String buffers.
Signed-off-by: Petre Eftime <petre.p.eftime@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com> Conflicts: src/upm.i
This commit is contained in:
committed by
Mihai Tudor Panu
parent
ab730038fd
commit
2cab79b4c2
@@ -65,7 +65,7 @@ class Gas {
|
||||
* @param numberOfSamples Number of sample to sample for this window
|
||||
* @param buffer Buffer with sampled data
|
||||
*/
|
||||
virtual int getSampledWindow (unsigned int freqMS, unsigned int numberOfSamples, uint16_t * buffer);
|
||||
virtual int getSampledWindow (unsigned int freqMS, int numberOfSamples, uint16_t * buffer);
|
||||
|
||||
/**
|
||||
* Given the sampled buffer, this method returns TRUE/FALSE if the threshold
|
||||
@@ -76,7 +76,7 @@ class Gas {
|
||||
* @param buffer Buffer with samples
|
||||
* @param len Buffer length
|
||||
*/
|
||||
virtual int findThreshold (thresholdContext* ctx, unsigned int threshold, uint16_t * buffer, unsigned int len);
|
||||
virtual int findThreshold (thresholdContext* ctx, unsigned int threshold, uint16_t * buffer, int len);
|
||||
|
||||
/**
|
||||
* Returns average data for the sampled window
|
||||
|
||||
Reference in New Issue
Block a user