Mercurial > octave-nkf
comparison src/DLD-FUNCTIONS/__glpk__.cc @ 6472:fb53fc94f526
[project @ 2007-03-29 12:49:51 by jwe]
author | jwe |
---|---|
date | Thu, 29 Mar 2007 12:49:52 +0000 |
parents | 8a844b3d10b1 |
children | 1ece41c144a6 |
comparison
equal
deleted
inserted
replaced
6471:23e8f1cf79ab | 6472:fb53fc94f526 |
---|---|
51 #define lib_set_fault_hook lib_fault_hook | 51 #define lib_set_fault_hook lib_fault_hook |
52 #endif | 52 #endif |
53 #ifndef lib_set_print_hook | 53 #ifndef lib_set_print_hook |
54 #define lib_set_print_hook lib_print_hook | 54 #define lib_set_print_hook lib_print_hook |
55 #endif | 55 #endif |
56 } | |
57 | 56 |
58 #else | 57 #else |
59 | 58 |
60 extern "C" | |
61 { | |
62 void _glp_lib_print_hook (int (*func)(void *info, char *buf), void *info); | 59 void _glp_lib_print_hook (int (*func)(void *info, char *buf), void *info); |
63 void _glp_lib_fault_hook (int (*func)(void *info, char *buf), void *info); | 60 void _glp_lib_fault_hook (int (*func)(void *info, char *buf), void *info); |
61 | |
62 #endif | |
64 } | 63 } |
65 | |
66 #endif | |
67 | 64 |
68 #define NIntP 17 | 65 #define NIntP 17 |
69 #define NRealP 10 | 66 #define NRealP 10 |
70 | 67 |
71 int lpxIntParam[NIntP] = { | 68 int lpxIntParam[NIntP] = { |