Mercurial > octave
comparison examples/code/mex_demo.c @ 21253:a66a737913b5
allow __have_feature__ to check for ENABLE_ options
* __have_feature__.m: Handle ENABLE_ options.
* mex_demo.c, oct_demo.cc: Update note about octave_config_info.
* toplev.cc (Foctave_config_info): For ENABLE_ options, store logical
values instead of true/false or yes/no strings in struct.
* computer.m: Change use of octave_config_info ("ENABLE_64").
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 12 Feb 2016 16:28:51 -0500 |
parents | c8240a60dd01 |
children | 1da428cbf401 |
comparison
equal
deleted
inserted
replaced
21252:b2ec3a699ad7 | 21253:a66a737913b5 |
---|---|
4 // linking. To find out if it does, type the command | 4 // linking. To find out if it does, type the command |
5 // | 5 // |
6 // octave_config_info ("ENABLE_DYNAMIC_LINKING") | 6 // octave_config_info ("ENABLE_DYNAMIC_LINKING") |
7 // | 7 // |
8 // at the Octave prompt. Support for dynamic linking is included if | 8 // at the Octave prompt. Support for dynamic linking is included if |
9 // this expression returns the string "yes". | 9 // this expression is true. |
10 // | 10 // |
11 // To compile this file, type the command | 11 // To compile this file, type the command |
12 // | 12 // |
13 // mkoctfile --mex mex_demo.c | 13 // mkoctfile --mex mex_demo.c |
14 // | 14 // |