Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F630789
ScriptAPI.h
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
917 B
Referenced Files
None
Subscribers
None
ScriptAPI.h
View Options
/*
* Copyright (C) 2012 Me and My Shadow
*
* This file is part of Me and My Shadow.
*
* Me and My Shadow is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Me and My Shadow is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; 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 Me and My Shadow. If not, see <http://www.gnu.org/licenses/>.
*/
int
test
(
lua_State
*
state
){
cerr
<<
"Hello world"
<<
endl
;
return
0
;
}
void
registerFunctions
(
ScriptExecutor
*
executor
){
executor
->
registerFunction
(
"test"
,
test
);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 10:24 AM (1 d, 11 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
146167
Default Alt Text
ScriptAPI.h (917 B)
Attached To
Mode
R79 meandmyshadow
Attached
Detach File
Event Timeline