|
From: | Sebastien Loisel |
Subject: | Re: "oct files" within the embedder |
Date: | Sat, 18 Feb 2006 02:04:32 +0100 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |