From: iceryeah (iceryeah2000_at_[hidden])
Date: 2004-02-05 00:49:59


hello,
problem 1:
i can expose the function like void a( void )
    def( "a", a );

but there is anthor function like this:
   void DebugMessage( char *msg,... );

i don't know how to expose this function.

problem 2:
module test

int num = 0;
void set( int a ) { num = a; }

then i expose set func , and do this in script:
import test
test.set( 10 )

and then in host app, i check the var num, it is not 10,why?

thanks very much.