Coincidentally, the errors were the result of an attempt to access an
instance member from a static method.
On Wed, Jan 18, 2012 at 11:53 AM, Geoff Johnson wrote:
> That results in the same error as when i is declared as an int.
>
> On Wed, Jan 18, 2012 at 11:33 AM, Abderrahim Kitouni
That results in the same error as when i is declared as an int.
On Wed, Jan 18, 2012 at 11:33 AM, Abderrahim Kitouni wrote:
> في ر، 18-01-2012 عند 11:18 -0800 ، كتب Geoff Johnson:
> > In the class right before the constructor I've declared the property
> using:
> >
>
012 عند 10:28 -0800 ، كتب Geoff Johnson:
> > Later on in the code I want to use n_part but whenever I do I get the
> > following error during compile:
> >
> > julia.vala:166.21-166.30: error: Relational operation not supported for
> > types `int' and `null'
&
The subject of this should read "Null type error when using option outside
of construction" but for whatever reason (maybe pebcak) didn't stick to the
original post.
On Wed, Jan 18, 2012 at 10:28 AM, Geoff Johnson wrote:
> I'm using the following code to read command
I'm using the following code to read command line arguments for two integer
values
--
// inside of a class
static int opt_x_part = 0;
static int opt_y_part = 0;
...
public static const OptionEntry[] options = {
{ "xpart", 0, 0, OptionArg.INT, ref opt_x_part,
"Number o
n Nemerson wrote:
> On Sat, 2011-12-10 at 15:30 -0800, Geoff Johnson wrote:
> > First off, I've never written a vapi file before so excuse my lack of
> > understanding. I've started to write a vapi file for the comedi library
> > which contains several macros for ch
First off, I've never written a vapi file before so excuse my lack of
understanding. I've started to write a vapi file for the comedi library
which contains several macros for channel setup, for example:
#define CR_PACK(chan,rng,aref) ( (((aref)&0x3)<<24) | (((rng)&0xff)<<16) |
(chan) )
My questi