76ed0c0a4b
* gij.cc (main): Formatting fixes. (_Jv_Compiler_Properties): Define. * java/lang/natSystem.cc (_Jv_Environment_Properties): Don't declare. (init_properties): Set properites from _Jv_Compiler_Properties. * include/java-props.h (_Jv_Compiler_Properties, _Jv_Environment_Properties): Declare. From-SVN: r30020
30 lines
620 B
C++
30 lines
620 B
C++
// java-props.h - Properties -*- c++ -*-
|
|
|
|
/* Copyright (C) 1999 Cygnus Solutions
|
|
|
|
This file is part of libgcj.
|
|
|
|
This software is copyrighted work licensed under the terms of the
|
|
Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
|
|
details. */
|
|
|
|
#ifndef __JAVA_PROPS_H__
|
|
#define __JAVA_PROPS_H__
|
|
|
|
typedef struct
|
|
{
|
|
char *key;
|
|
size_t key_length;
|
|
char *value;
|
|
size_t value_length;
|
|
} property_pair;
|
|
|
|
// The compiler generates this declaration.
|
|
extern char *_Jv_Compiler_Properties[];
|
|
|
|
// Properties taken from the user's environment.
|
|
extern property_pair *_Jv_Environment_Properties;
|
|
|
|
#endif
|
|
|