Skip to content

Commit

Permalink
Better commenting of code-gen in CStruct.java.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnsholt committed Feb 16, 2014
1 parent 8c67bb1 commit dc7d396
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void generateStructClass(ThreadContext tc, STable st, List<AttrInfo> fie

int attributes = fields.size();

// public $className extends com.sun.jna.Structure { ... }
// public $className extends com.sun.jna.Structure implements com.sun.jna.Structure.ByReference { ... }
cw.visit(Opcodes.V1_7, Opcodes.ACC_PUBLIC | Opcodes.ACC_SUPER, className, null,
"com/sun/jna/Structure", new String[]{"com/sun/jna/Structure$ByReference"});

Expand Down

0 comments on commit dc7d396

Please sign in to comment.