octave-maintainers
[Top][All Lists]
Advanced

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

Re: "oct files" within the embedder


From: Sebastien Loisel
Subject: Re: "oct files" within the embedder
Date: Sat, 18 Feb 2006 02:04:32 +0100

OK, thanks.

I fixed my help system problems. I'm releasing a new version as I write this.

Sebastien Loisel

On 2/18/06, Paul Kienzle <address@hidden> wrote:
Look at listen.cc.  I register the send and senderror functions:

#if USE_DEFUN_INTERNAL
   install_builtin_function (Fsend, "send", "builtin send doc", false);
   install_builtin_function (Fsenderror,
                             "senderror", "builtin senderror doc",
false);
#endif

- Paul

On Feb 17, 2006, at 8:19 AM, Sebastien Loisel wrote:

> David,
>
> If I mkoctfile foo.cpp -o foo.oct then I get a function in octave,
> called foo, that I can call. However, if instead I g++ foo.cpp -o
> foo.o and then statically link foo.o into my embedder, the function
> isn't visible in octave. Is there a way for my embedder to add it to
> the namespace, or am I better off just making oct files?
>
> Cheers,
>
> Sébastien Loisel




reply via email to

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