Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anjo76/angelscript
/ DefineWord
Method
DefineWord
sdk/add_on/scriptbuilder/scriptbuilder.cpp:137–144 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
135
}
136
137
void CScriptBuilder::DefineWord(const char *word)
138
{
139
string sword = word;
140
if( definedWords.find(sword) == definedWords.end() )
141
{
142
definedWords.insert(sword);
143
}
144
}
145
146
void CScriptBuilder::ClearAll()
147
{
Callers
1
Test
Function · 0.80
Calls
2
find
Method · 0.80
end
Method · 0.80
Tested by
1
Test
Function · 0.64