Header file tidyup
Fix Visual C++ warning in scilab.cxx: warning C4996: 'strtok': This function or variable may be unsafe.
This commit is contained in:
parent
69dba70319
commit
6939d91e4c
9 changed files with 6 additions and 11 deletions
|
|
@ -12,8 +12,8 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
#include <limits.h> // for INT_MAX
|
|
||||||
#include "cparse.h"
|
#include "cparse.h"
|
||||||
|
#include <limits.h> // for INT_MAX
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
/* Hash type used for upcalls from C/C++ */
|
/* Hash type used for upcalls from C/C++ */
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
// Note string broken in half for compilers that can't handle long strings
|
// Note string broken in half for compilers that can't handle long strings
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,8 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
#include <limits.h> // for INT_MAX
|
|
||||||
#include "cparse.h"
|
#include "cparse.h"
|
||||||
|
#include <limits.h> // for INT_MAX
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "javadoc.h"
|
#include "javadoc.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
static const char *usage = "\
|
static const char *usage = "\
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
static const char *usage = "\
|
static const char *usage = "\
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,13 +12,12 @@
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include "swigmod.h"
|
#include "swigmod.h"
|
||||||
#include <limits.h>
|
|
||||||
#include "cparse.h"
|
#include "cparse.h"
|
||||||
|
#include <limits.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include "pydoc.h"
|
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include "pydoc.h"
|
||||||
|
|
||||||
#define PYSHADOW_MEMBER 0x2
|
#define PYSHADOW_MEMBER 0x2
|
||||||
#define WARN_PYTHON_MULTIPLE_INH 405
|
#define WARN_PYTHON_MULTIPLE_INH 405
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@
|
||||||
* Scilab language module for SWIG.
|
* Scilab language module for SWIG.
|
||||||
* --------------------------------------------------------------------------*/
|
* --------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
#include "swigmod.h"
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include "swigmod.h"
|
|
||||||
|
|
||||||
static const int SCILAB_IDENTIFIER_NAME_CHAR_MAX = 24;
|
static const int SCILAB_IDENTIFIER_NAME_CHAR_MAX = 24;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
* Various utility functions.
|
* Various utility functions.
|
||||||
* ----------------------------------------------------------------------------- */
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
#include <swigmod.h>
|
#include "swigmod.h"
|
||||||
|
|
||||||
int is_public(Node *n) {
|
int is_public(Node *n) {
|
||||||
String *access = Getattr(n, "access");
|
String *access = Getattr(n, "access");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue