mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-17 10:48:21 +00:00
Change space indentation to tabs
This commit is contained in:
+56
-92
@@ -1,14 +1,14 @@
|
||||
/*
|
||||
* This file was generated automatically by xsubpp version 1.9508 from the
|
||||
* contents of tmp. Do not edit this file, edit tmp instead.
|
||||
*
|
||||
* ANY CHANGES MADE HERE WILL BE LOST!
|
||||
*
|
||||
*/
|
||||
* This file was generated automatically by xsubpp version 1.9508 from the
|
||||
* contents of tmp. Do not edit this file, edit tmp instead.
|
||||
*
|
||||
* ANY CHANGES MADE HERE WILL BE LOST!
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2004 EQEMu Development Team (http://eqemulator.net)
|
||||
/* EQEMu: Everquest Server Emulator
|
||||
Copyright (C) 2001-2004 EQEMu Development Team (http://eqemulator.net)
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY except by those people which sell it, which
|
||||
are required to give you total support for your newly bought product;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
are required to give you total support for your newly bought product;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
typedef const char Const_char;
|
||||
@@ -36,7 +36,7 @@ typedef const char Const_char;
|
||||
#undef seed
|
||||
#endif
|
||||
|
||||
#ifdef THIS /* this macro seems to leak out on some systems */
|
||||
#ifdef THIS /* this macro seems to leak out on some systems */
|
||||
#undef THIS
|
||||
#endif
|
||||
|
||||
@@ -272,23 +272,6 @@ XS(XS_EQW_GetZoneDetails)
|
||||
sv_setpvn(*ele, cur->second.c_str(), cur->second.length());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
XSRETURN(1);
|
||||
}
|
||||
@@ -409,23 +392,6 @@ XS(XS_EQW_GetPlayerDetails)
|
||||
sv_setpvn(*ele, cur->second.c_str(), cur->second.length());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
XSRETURN(1);
|
||||
}
|
||||
@@ -864,7 +830,7 @@ XS(XS_EQW_ListBugs)
|
||||
Perl_croak(aTHX_ "Usage: EQW::ListBugs(THIS, id)");
|
||||
{
|
||||
EQW * THIS;
|
||||
uint32 id = (uint32)SvUV(ST(1));
|
||||
uint32 id = (uint32)SvUV(ST(1));
|
||||
vector<string> RETVAL;
|
||||
|
||||
|
||||
@@ -953,7 +919,7 @@ XS(XS_EQW_ResolveBug)
|
||||
Perl_croak(aTHX_ "Usage: EQW::ResolveBug(THIS, id)");
|
||||
{
|
||||
EQW * THIS;
|
||||
const char *id = (const char*)SvPV_nolen(ST(1));
|
||||
const char *id = (const char*)SvPV_nolen(ST(1));
|
||||
|
||||
if (sv_derived_from(ST(0), "EQW")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
@@ -972,53 +938,53 @@ XS(XS_EQW_ResolveBug)
|
||||
XS(XS_EQW_SendMessage); /* prototype to pass -Wmissing-prototypes */
|
||||
XS(XS_EQW_SendMessage)
|
||||
{
|
||||
dXSARGS;
|
||||
if (items != 3)
|
||||
Perl_croak(aTHX_ "Usage: EQW::SendMessage(THIS, type, message)");
|
||||
{
|
||||
EQW * THIS;
|
||||
dXSTARG;
|
||||
uint32 msgtype = (uint32)SvUV(ST(1));
|
||||
char* msg = (char *)SvPV_nolen(ST(2));
|
||||
dXSARGS;
|
||||
if (items != 3)
|
||||
Perl_croak(aTHX_ "Usage: EQW::SendMessage(THIS, type, message)");
|
||||
{
|
||||
EQW * THIS;
|
||||
dXSTARG;
|
||||
uint32 msgtype = (uint32)SvUV(ST(1));
|
||||
char* msg = (char *)SvPV_nolen(ST(2));
|
||||
|
||||
if (sv_derived_from(ST(0), "EQW")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
THIS = INT2PTR(EQW *,tmp);
|
||||
}
|
||||
else
|
||||
Perl_croak(aTHX_ "THIS is not of type EQW");
|
||||
if(THIS == NULL)
|
||||
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
|
||||
if (sv_derived_from(ST(0), "EQW")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
THIS = INT2PTR(EQW *,tmp);
|
||||
}
|
||||
else
|
||||
Perl_croak(aTHX_ "THIS is not of type EQW");
|
||||
if(THIS == NULL)
|
||||
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
|
||||
|
||||
THIS->SendMessage(msgtype, msg);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
THIS->SendMessage(msgtype, msg);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
|
||||
XS(XS_EQW_WorldShutDown); /* prototype to pass -Wmissing-prototypes */
|
||||
XS(XS_EQW_WorldShutDown)
|
||||
{
|
||||
dXSARGS;
|
||||
if (items != 3)
|
||||
Perl_croak(aTHX_ "Usage: EQW::WorldShutDown(THIS, time, interval)");
|
||||
{
|
||||
EQW * THIS;
|
||||
dXSTARG;
|
||||
uint32 time = (uint32)SvUV(ST(1));
|
||||
uint32 interval = (uint32)SvUV(ST(2));
|
||||
dXSARGS;
|
||||
if (items != 3)
|
||||
Perl_croak(aTHX_ "Usage: EQW::WorldShutDown(THIS, time, interval)");
|
||||
{
|
||||
EQW * THIS;
|
||||
dXSTARG;
|
||||
uint32 time = (uint32)SvUV(ST(1));
|
||||
uint32 interval = (uint32)SvUV(ST(2));
|
||||
|
||||
if (sv_derived_from(ST(0), "EQW")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
THIS = INT2PTR(EQW *,tmp);
|
||||
}
|
||||
else
|
||||
Perl_croak(aTHX_ "THIS is not of type EQW");
|
||||
if(THIS == NULL)
|
||||
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
|
||||
if (sv_derived_from(ST(0), "EQW")) {
|
||||
IV tmp = SvIV((SV*)SvRV(ST(0)));
|
||||
THIS = INT2PTR(EQW *,tmp);
|
||||
}
|
||||
else
|
||||
Perl_croak(aTHX_ "THIS is not of type EQW");
|
||||
if(THIS == NULL)
|
||||
Perl_croak(aTHX_ "THIS is NULL, avoiding crash.");
|
||||
|
||||
THIS->WorldShutDown(time, interval);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
THIS->WorldShutDown(time, interval);
|
||||
}
|
||||
XSRETURN_EMPTY;
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
@@ -1038,8 +1004,6 @@ XS(boot_EQW)
|
||||
|
||||
//add the strcpy stuff to get rid of const warnings....
|
||||
|
||||
|
||||
|
||||
XS_VERSION_BOOTCHECK ;
|
||||
|
||||
newXSproto(strcpy(buf, "GetConfig"), XS_EQW_GetConfig, file, "$$");
|
||||
@@ -1067,10 +1031,10 @@ XS(boot_EQW)
|
||||
newXSproto(strcpy(buf, "SetBankerFlag"), XS_EQW_SetBankerFlag, file, "$$$");
|
||||
newXSproto(strcpy(buf, "SetTributeFlag"), XS_EQW_SetTributeFlag, file, "$$$");
|
||||
newXSproto(strcpy(buf, "SetPublicNote"), XS_EQW_SetPublicNote, file, "$$$");
|
||||
newXSproto(strcpy(buf, "CountBugs"), XS_EQW_CountBugs, file, "$");
|
||||
newXSproto(strcpy(buf, "ListBugs"), XS_EQW_ListBugs, file, "$$");
|
||||
newXSproto(strcpy(buf, "CountBugs"), XS_EQW_CountBugs, file, "$");
|
||||
newXSproto(strcpy(buf, "ListBugs"), XS_EQW_ListBugs, file, "$$");
|
||||
newXSproto(strcpy(buf, "GetBugDetails"), XS_EQW_GetBugDetails, file, "$$");
|
||||
newXSproto(strcpy(buf, "ResolveBug"), XS_EQW_ResolveBug, file, "$$");
|
||||
newXSproto(strcpy(buf, "ResolveBug"), XS_EQW_ResolveBug, file, "$$");
|
||||
newXSproto(strcpy(buf, "SendMessage"), XS_EQW_SendMessage, file, "$$$");
|
||||
newXSproto(strcpy(buf, "WorldShutDown"), XS_EQW_WorldShutDown, file, "$$$");
|
||||
XSRETURN_YES;
|
||||
|
||||
Reference in New Issue
Block a user