mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
fix stupid mistakes
This commit is contained in:
parent
50322c3bde
commit
7be3be74fc
3 changed files with 4 additions and 5 deletions
|
@ -55,8 +55,8 @@ struct lldiv_t { long quot,rem; }
|
||||||
int (*compare)(in void *elem1, in void *elem2)); /// ditto
|
int (*compare)(in void *elem1, in void *elem2)); /// ditto
|
||||||
|
|
||||||
char* getenv(const char*); ///
|
char* getenv(const char*); ///
|
||||||
int setenv(char*, char*, int); /// extension to ISO C standard, not available on all platforms
|
int setenv(const char*, const char*, int); /// extension to ISO C standard, not available on all platforms
|
||||||
void unsetenv(char*); /// extension to ISO C standard, not available on all platforms
|
void unsetenv(const char*); /// extension to ISO C standard, not available on all platforms
|
||||||
|
|
||||||
int rand(); ///
|
int rand(); ///
|
||||||
void srand(uint); /// ditto
|
void srand(uint); /// ditto
|
||||||
|
|
|
@ -87,8 +87,7 @@ class FormatError : Error
|
||||||
enum Mangle : char
|
enum Mangle : char
|
||||||
{
|
{
|
||||||
Tvoid = 'v',
|
Tvoid = 'v',
|
||||||
//Tbit = 'b', // no longer used
|
Tbool = 'b',
|
||||||
Tbool = 'x',
|
|
||||||
Tbyte = 'g',
|
Tbyte = 'g',
|
||||||
Tubyte = 'h',
|
Tubyte = 'h',
|
||||||
Tshort = 's',
|
Tshort = 's',
|
||||||
|
|
|
@ -123,6 +123,6 @@ printf("test2\n");
|
||||||
|
|
||||||
writefln(std.cpuid.toString());
|
writefln(std.cpuid.toString());
|
||||||
|
|
||||||
printf("Success\n!");
|
printf("Success!\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue