Skip to content

Commit 24a89fa

Browse files
committed
fix: Move API module to example gamemode
1 parent 9be069e commit 24a89fa

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
File renamed without changes.

python/APIGenerator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class NoMethodException(Exception):
1414
METHODEXTRACTOR = re.compile('^(\[native\]) ([A-z]+) ([A-z]+)\((.*)\)\;$')
1515
PARAMETERSEXTRACTOR = re.compile(r'([ ]*(?P<out>\[out\])?[ ]*?(?P<type>[a-zA-Z]+) (?P<name>[a-zA-Z0-9_]+)[ ]*(?:=[ ]*(?P<default>[a-zA-Z0-9\"\'\.\-\_]*))?)')
1616
PARAMETEREXTRACTOR = re.compile('^{0}$'.format(PARAMETER_REGEX))
17-
OUTPUT_PYTHONFILE = '../gamemodes/samp.py'
17+
OUTPUT_PYTHONFILE = '../gamemodes/empty/samp.py'
1818
INPUT_DIRECTORY = '/Users/yannickhabecker/git/private/sampgdk/lib/sampgdk/*.idl'
1919

2020
CONST_NAME_REGEX = re.compile(r'^[A-Z][A-Z0-9_x]*$')

0 commit comments

Comments
 (0)