@@ -257,31 +257,31 @@ public void openFolder(File file) throws Exception {
257
257
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
258
258
259
259
260
- public interface CLibrary extends Library {
261
- CLibrary INSTANCE = Native .load ("c" , CLibrary .class );
262
- int setenv (String name , String value , int overwrite );
263
- String getenv (String name );
264
- int unsetenv (String name );
265
- int putenv (String string );
266
- }
267
-
268
-
269
- public void setenv (String variable , String value ) {
270
- CLibrary clib = CLibrary .INSTANCE ;
271
- clib .setenv (variable , value , 1 );
272
- }
273
-
274
-
275
- public String getenv (String variable ) {
276
- CLibrary clib = CLibrary .INSTANCE ;
277
- return clib .getenv (variable );
278
- }
279
-
280
-
281
- public int unsetenv (String variable ) {
282
- CLibrary clib = CLibrary .INSTANCE ;
283
- return clib .unsetenv (variable );
284
- }
260
+ // public interface CLibrary extends Library {
261
+ // CLibrary INSTANCE = Native.load("c", CLibrary.class);
262
+ // int setenv(String name, String value, int overwrite);
263
+ // String getenv(String name);
264
+ // int unsetenv(String name);
265
+ // int putenv(String string);
266
+ // }
267
+ //
268
+ //
269
+ // public void setenv(String variable, String value) {
270
+ // CLibrary clib = CLibrary.INSTANCE;
271
+ // clib.setenv(variable, value, 1);
272
+ // }
273
+ //
274
+ //
275
+ // public String getenv(String variable) {
276
+ // CLibrary clib = CLibrary.INSTANCE;
277
+ // return clib.getenv(variable);
278
+ // }
279
+ //
280
+ //
281
+ // public int unsetenv(String variable) {
282
+ // CLibrary clib = CLibrary.INSTANCE;
283
+ // return clib.unsetenv(variable);
284
+ // }
285
285
286
286
287
287
// . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
0 commit comments