[INTERPRETER]
* NEW: Rename the '.File.Perm' virtual class as '.Stat.Perm'. git-svn-id: svn://localhost/gambas/trunk@4030 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
bf0c0c4b57
commit
f5c1b91bb9
@ -802,9 +802,9 @@ GB_DESC NATIVE_Stream[] =
|
||||
};
|
||||
|
||||
|
||||
GB_DESC NATIVE_FilePerm[] =
|
||||
GB_DESC NATIVE_StatPerm[] =
|
||||
{
|
||||
GB_DECLARE(".File.Perm", 0),
|
||||
GB_DECLARE(".Stat.Perm", 0),
|
||||
GB_VIRTUAL_CLASS(),
|
||||
|
||||
GB_METHOD("_get", "s", CFILE_perm_get, "(UserOrGroup)s"),
|
||||
@ -833,7 +833,7 @@ GB_DESC NATIVE_Stat[] =
|
||||
GB_PROPERTY_READ("LastChange", "d", Stat_LastChange),
|
||||
GB_PROPERTY_READ("User", "s", Stat_User),
|
||||
GB_PROPERTY_READ("Group", "s", Stat_Group),
|
||||
GB_PROPERTY_SELF("Perm", ".File.Perm"),
|
||||
GB_PROPERTY_SELF("Perm", ".Stat.Perm"),
|
||||
GB_PROPERTY_READ("SetGID", "b", Stat_SetGID),
|
||||
GB_PROPERTY_READ("SetUID", "b", Stat_SetUID),
|
||||
GB_PROPERTY_READ("Sticky", "b", Stat_Sticky),
|
||||
|
@ -59,7 +59,7 @@ extern GB_DESC NATIVE_StreamLines[];
|
||||
extern GB_DESC NATIVE_Stream[];
|
||||
extern GB_DESC NATIVE_File[];
|
||||
extern GB_DESC NATIVE_Stat[];
|
||||
extern GB_DESC NATIVE_FilePerm[];
|
||||
extern GB_DESC NATIVE_StatPerm[];
|
||||
extern CFILE *CFILE_in;
|
||||
extern CFILE *CFILE_out;
|
||||
extern CFILE *CFILE_err;
|
||||
|
@ -330,7 +330,7 @@ EXTERN GB_DESC NATIVE_Collection[];
|
||||
EXTERN GB_DESC NATIVE_Error[];
|
||||
EXTERN GB_DESC NATIVE_Stream[];
|
||||
EXTERN GB_DESC NATIVE_StreamLines[];
|
||||
EXTERN GB_DESC NATIVE_FilePerm[];
|
||||
EXTERN GB_DESC NATIVE_StatPerm[];
|
||||
EXTERN GB_DESC NATIVE_Stat[];
|
||||
EXTERN GB_DESC NATIVE_File[];
|
||||
EXTERN GB_DESC NATIVE_AppEnv[];
|
||||
@ -377,7 +377,7 @@ GB_DESC *GB_CLASSES[] EXPORT =
|
||||
NATIVE_Error,
|
||||
NATIVE_StreamLines,
|
||||
NATIVE_Stream,
|
||||
NATIVE_FilePerm,
|
||||
NATIVE_StatPerm,
|
||||
NATIVE_Stat,
|
||||
NATIVE_File,
|
||||
NATIVE_AppEnv,
|
||||
|
@ -102,7 +102,7 @@ static const CLASS_INIT init_list[] =
|
||||
{ NATIVE_Error, NULL },
|
||||
{ NATIVE_StreamLines, NULL },
|
||||
{ NATIVE_Stream, &CLASS_Stream },
|
||||
{ NATIVE_FilePerm, NULL },
|
||||
{ NATIVE_StatPerm, NULL },
|
||||
{ NATIVE_Stat, &CLASS_Stat },
|
||||
{ NATIVE_File, &CLASS_File },
|
||||
{ NATIVE_AppEnv, &CLASS_AppEnv },
|
||||
|
Loading…
x
Reference in New Issue
Block a user