Bug 625

Summary: StructAccessor missing setShortsAt() and getShortsAt() methods for short[]
Product: [JogAmp] Gluegen Reporter: frank.dahlberg
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
gluegen 0104f0ff35304b0aa416c2caa7b53aadf592f36a
Workaround: ---

Description frank.dahlberg 2012-10-04 23:52:36 CEST
For short[] Java code gets emitted for an StructAccessor object that uses:

void setShortsAt(int i, short[] shorts)
short[] getShortsAt(int i, short[] shorts)

The problem is that StructAccessor.java has no such methods.

Thanks
Comment 1 Sven Gothel 2012-10-06 02:56:02 CEST
(In reply to comment #0)
> For short[] Java code gets emitted for an StructAccessor object that uses:
> 
> void setShortsAt(int i, short[] shorts)
> short[] getShortsAt(int i, short[] shorts)
> 
> The problem is that StructAccessor.java has no such methods.
> 
> Thanks

Do you volunteer to add this ?
If so, pls use our git repo, clone, patch and offer it (email, pull-request, ..).
If so, pls also add short access in unit test.
Comment 2 Sven Gothel 2012-10-31 17:18:42 CET
Any progress ?
Comment 3 Sven Gothel 2012-12-30 19:57:12 CET
added .. commit 0104f0ff35304b0aa416c2caa7b53aadf592f36a