On 09.02.2007 17:01, Quentin Anciaux wrote:
> To make it work I've added the following in the cspace.i:
> 
> %include "csutil/flags.h"
> %inline %{
> void setUint32(csFlags & flag, int i) {
>    flag.Set(i);
> }
> %}
> 
> It is now possible to set the flag in java this way:
> 
> cspace.setUint32(laserbeam.GetFlags(), cspaceConstants.CS_ENTITY_NOHITBEAM);

Why does "laserbeam.GetFlags().Set
(cspaceConstants.CS_ENTITY_NOHITBEAM)" not work?

-f.r.

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to