fix compiler warnings

This commit is contained in:
David Rose 2008-11-10 20:23:40 +00:00
parent f086784b4f
commit 26d832b486
10 changed files with 18 additions and 18 deletions

View File

@ -62,7 +62,7 @@ __setitem__(int i, FLOATTYPE v) {
// Access: Public, Static
// Description: Returns 3: the number of columns of a LMatrix3.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LMatrix3)::Row::
INLINE_LINMATH int FLOATNAME(LMatrix3)::Row::
size() {
return 3;
}
@ -92,7 +92,7 @@ operator [](int i) const {
// Access: Public, Static
// Description: Returns 3: the number of columns of a LMatrix3.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LMatrix3)::CRow::
INLINE_LINMATH int FLOATNAME(LMatrix3)::CRow::
size() {
return 3;
}
@ -347,7 +347,7 @@ operator [](int i) {
// Access: Public, Static
// Description: Returns 3: the number of rows of a LMatrix3.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LMatrix3)::
INLINE_LINMATH int FLOATNAME(LMatrix3)::
size() {
return 3;
}

View File

@ -38,7 +38,7 @@ PUBLISHED:
#ifdef HAVE_PYTHON
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
#endif
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
private:
FLOATTYPE *_row;
friend class FLOATNAME(LMatrix3);
@ -48,7 +48,7 @@ PUBLISHED:
INLINE_LINMATH CRow(const FLOATTYPE *row);
PUBLISHED:
INLINE_LINMATH FLOATTYPE operator [](int i) const;
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
private:
const FLOATTYPE *_row;
friend class FLOATNAME(LMatrix3);
@ -96,7 +96,7 @@ PUBLISHED:
INLINE_LINMATH CRow operator [](int i) const;
INLINE_LINMATH Row operator [](int i);
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
INLINE_LINMATH bool is_nan() const;

View File

@ -62,7 +62,7 @@ __setitem__(int i, FLOATTYPE v) {
// Access: Public, Static
// Description: Returns 4: the number of columns of a LMatrix4.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LMatrix4)::Row::
INLINE_LINMATH int FLOATNAME(LMatrix4)::Row::
size() {
return 4;
}
@ -92,7 +92,7 @@ operator [](int i) const {
// Access: Public, Static
// Description: Returns 4: the number of columns of a LMatrix4.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LMatrix4)::CRow::
INLINE_LINMATH int FLOATNAME(LMatrix4)::CRow::
size() {
return 4;
}
@ -525,7 +525,7 @@ operator [](int i) {
// Access: Public, Static
// Description: Returns 4: the number of rows of a LMatrix4.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LMatrix4)::
INLINE_LINMATH int FLOATNAME(LMatrix4)::
size() {
return 4;
}

View File

@ -33,7 +33,7 @@ PUBLISHED:
#ifdef HAVE_PYTHON
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
#endif
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
private:
FLOATTYPE *_row;
friend class FLOATNAME(LMatrix4);
@ -43,7 +43,7 @@ PUBLISHED:
INLINE_LINMATH CRow(const FLOATTYPE *row);
PUBLISHED:
INLINE_LINMATH FLOATTYPE operator [](int i) const;
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
private:
const FLOATTYPE *_row;
friend class FLOATNAME(LMatrix4);
@ -99,7 +99,7 @@ PUBLISHED:
INLINE_LINMATH CRow operator [](int i) const;
INLINE_LINMATH Row operator [](int i);
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
INLINE_LINMATH bool is_nan() const;

View File

@ -162,7 +162,7 @@ __setitem__(int i, FLOATTYPE v) {
// Access: Public, Static
// Description: Returns 2: the number of components of a LVecBase2.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LVecBase2)::
INLINE_LINMATH int FLOATNAME(LVecBase2)::
size() {
return 2;
}

View File

@ -44,7 +44,7 @@ PUBLISHED:
#ifdef HAVE_PYTHON
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
#endif
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
INLINE_LINMATH bool is_nan() const;

View File

@ -174,7 +174,7 @@ __setitem__(int i, FLOATTYPE v) {
// Access: Public, Static
// Description: Returns 3: the number of components of a LVecBase3.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LVecBase3)::
INLINE_LINMATH int FLOATNAME(LVecBase3)::
size() {
return 3;
}

View File

@ -42,7 +42,7 @@ PUBLISHED:
#ifdef HAVE_PYTHON
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
#endif
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
INLINE_LINMATH bool is_nan() const;

View File

@ -188,7 +188,7 @@ __setitem__(int i, FLOATTYPE v) {
// Access: Public, Static
// Description: Returns 4: the number of components of a LVecBase4.
////////////////////////////////////////////////////////////////////
INLINE_LINMATH size_t FLOATNAME(LVecBase4)::
INLINE_LINMATH int FLOATNAME(LVecBase4)::
size() {
return 4;
}

View File

@ -43,7 +43,7 @@ PUBLISHED:
#ifdef HAVE_PYTHON
INLINE_LINMATH void __setitem__(int i, FLOATTYPE v);
#endif
INLINE_LINMATH static size_t size();
INLINE_LINMATH static int size();
INLINE_LINMATH bool is_nan() const;