mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 08:47:17 +01:00
Compare commits
2 Commits
4af93aff14
...
d749250e1b
Author | SHA1 | Date | |
---|---|---|---|
|
d749250e1b | ||
|
c205261ee9 |
@ -381,7 +381,7 @@ void Register_INI(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("Check"), &IniResult::Check)
|
.Func(_SC("Check"), &IniResult::Check)
|
||||||
);
|
);
|
||||||
|
|
||||||
inins.Bind(_SC("IniEntries"),
|
inins.Bind(_SC("Entries"),
|
||||||
Class< IniEntries >(vm, EntriesTypename::Str)
|
Class< IniEntries >(vm, EntriesTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
@ -409,7 +409,7 @@ void Register_INI(HSQUIRRELVM vm)
|
|||||||
.Func(_SC("SortByLoadOrder"), &IniEntries::SortByLoadOrder)
|
.Func(_SC("SortByLoadOrder"), &IniEntries::SortByLoadOrder)
|
||||||
);
|
);
|
||||||
|
|
||||||
inins.Bind(_SC("IniDocument"),
|
inins.Bind(_SC("Document"),
|
||||||
Class< IniDocument, NoCopy< IniDocument > >(vm, DocumentTypename::Str)
|
Class< IniDocument, NoCopy< IniDocument > >(vm, DocumentTypename::Str)
|
||||||
// Constructors
|
// Constructors
|
||||||
.Ctor()
|
.Ctor()
|
||||||
@ -464,7 +464,7 @@ void Register_INI(HSQUIRRELVM vm)
|
|||||||
.Overload< bool (IniDocument::*)(const SQChar *, const SQChar *, const SQChar *, bool) >(_SC("DeleteValue"), &IniDocument::DeleteValue)
|
.Overload< bool (IniDocument::*)(const SQChar *, const SQChar *, const SQChar *, bool) >(_SC("DeleteValue"), &IniDocument::DeleteValue)
|
||||||
);
|
);
|
||||||
|
|
||||||
RootTable(vm).Bind(_SC("SqIni"), inins);
|
RootTable(vm).Bind(_SC("SqINI"), inins);
|
||||||
|
|
||||||
ConstTable(vm).Enum(_SC("SqIniError"), Enumeration(vm)
|
ConstTable(vm).Enum(_SC("SqIniError"), Enumeration(vm)
|
||||||
.Const(_SC("Ok"), int32_t(SI_OK))
|
.Const(_SC("Ok"), int32_t(SI_OK))
|
||||||
|
Loading…
Reference in New Issue
Block a user