comparison doc/interpreter/dynamic.txi @ 12575:d0b799dafede

Grammarcheck files for 3.4.1 release.
author Rik <octave@nomad.inbox5.com>
date Mon, 04 Apr 2011 15:33:46 -0700
parents ac3bdc27734e
children 72c96de7a403
comparison
equal deleted inserted replaced
12574:89604fa96d2f 12575:d0b799dafede
106 @EXAMPLEFILE(helloworld.cc) 106 @EXAMPLEFILE(helloworld.cc)
107 @end group 107 @end group
108 @end example 108 @end example
109 109
110 This example although short introduces the basics of writing a C++ 110 This example although short introduces the basics of writing a C++
111 function that can be dynamically linked to Octave. The easiest way to 111 function that can be dynamically linked to Octave. The easiest way to
112 make available most of the definitions that might be necessary for a C++ 112 make available most of the definitions that might be necessary for a C++
113 oct-file in Octave is to use the @code{#include <octave/oct.h>} header. 113 oct-file in Octave is to use the @code{#include <octave/oct.h>} header.
114 Note that @file{octave/oct.h} is a C++ header and cannot be directly 114 Note that @file{octave/oct.h} is a C++ header and cannot be directly
115 @code{#include}'ed in a C source file, nor any other language. What 115 @code{#include}'ed in a C source file, nor any other language. What
116 follows is mostly C++, with a discussion of other languages in section 116 follows is mostly C++, with a discussion of other languages in section
117 @ref{Calling External Code from Oct-Files}. 117 @ref{Calling External Code from Oct-Files}.
118 118
119 The macro that defines the entry point into the dynamically loaded 119 The macro that defines the entry point into the dynamically loaded
120 function is @w{@code{DEFUN_DLD}}. This macro takes four arguments, these being 120 function is @w{@code{DEFUN_DLD}}. This macro takes four arguments, these being