interface
| 1651 | |
| 1652 | // interface |
| 1653 | asDWORD *asCScriptFunction::GetByteCode(asUINT *length) |
| 1654 | { |
| 1655 | if( scriptData == 0 ) return 0; |
| 1656 | |
| 1657 | if( length ) |
| 1658 | *length = (asUINT)scriptData->byteCode.GetLength(); |
| 1659 | |
| 1660 | if( scriptData->byteCode.GetLength() ) |
| 1661 | return scriptData->byteCode.AddressOf(); |
| 1662 | |
| 1663 | return 0; |
| 1664 | } |
| 1665 | |
| 1666 | // interface |
| 1667 | void *asCScriptFunction::SetUserData(void *data, asPWORD type) |