File: SoDiffuseColorElement.i

package info (click to toggle)
pivy 0.6.10-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,216 kB
  • sloc: python: 36,331; cpp: 787; ansic: 733; makefile: 30; sh: 27; objc: 5
file content (13 lines) | stat: -rw-r--r-- 571 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* workaround for wrong const int * -> const uint32_t * in
   SoDiffuseColorElement::set() */
%ignore set(SoState * const state, SoNode * const node,
            const int32_t numcolors, const uint32_t * const colors,
            const SbBool packedtransparency = FALSE);

%extend SoDiffuseColorElement {
  void set(SoState * const state, SoNode * const node,
           const int32_t numcolors, const uint32_t * const colors,
           const SbBool packedtransparency = FALSE) {
    SoDiffuseColorElement::set(state, node, numcolors, colors, packedtransparency);
  }
}