help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: passing array from c++ wrapper to c function


From: Andy Buckle
Subject: Re: passing array from c++ wrapper to c function
Date: Tue, 1 Mar 2011 09:50:02 +0000

On Tue, Mar 1, 2011 at 9:13 AM, grg <address@hidden> wrote:
> It works for me too,
> thanks a lot!

I know just enough C to be dangerous.

You will probably want to pass the length of your array too. C will
quite happily let you read/write past the end of your array, giving
you a segfualt.

-- 
/* andy buckle */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]