| 12345678910111213141516171819202122232425262728293031323334353637 |
- function ProgramAttribute() {
- Object.defineProperties(this, {
- 'size': { enumerable: true, configurable: true, get: ProgramAttribute.prototype.__get_size, set: ProgramAttribute.prototype.__set_size},
- 'name': { enumerable: true, configurable: true, get: ProgramAttribute.prototype.__get_name, set: ProgramAttribute.prototype.__set_name},
- 'arrayType': { enumerable: true, configurable: true, get: ProgramAttribute.prototype.__get_arrayType, set: ProgramAttribute.prototype.__set_arrayType}
- })
- }
- ProgramAttribute.prototype.__get_size = function() {
- return Polycode.ProgramAttribute__get_size(this.__ptr)
- }
- ProgramAttribute.prototype.__set_size = function(val) {
- Polycode.ProgramAttribute__set_size(this.__ptr, val)
- }
- ProgramAttribute.prototype.__get_name = function() {
- return Polycode.ProgramAttribute__get_name(this.__ptr)
- }
- ProgramAttribute.prototype.__set_name = function(val) {
- Polycode.ProgramAttribute__set_name(this.__ptr, val)
- }
- ProgramAttribute.prototype.__get_arrayType = function() {
- return Polycode.ProgramAttribute__get_arrayType(this.__ptr)
- }
- ProgramAttribute.prototype.__set_arrayType = function(val) {
- Polycode.ProgramAttribute__set_arrayType(this.__ptr, val)
- }
- Duktape.fin(ProgramAttribute.prototype, function (x) {
- if (x === ProgramAttribute.prototype) {
- return;
- }
- Polycode.ProgramAttribute__delete(x.__ptr)
- })
|