Родитель
3670f50681
Коммит
4a0712eb8d
|
@ -73,7 +73,7 @@ object ownership.
|
|||
|
||||
.. cpp:type:: allow_raw_pointers
|
||||
|
||||
This policy is used to whitelist raw pointers.
|
||||
This policy is used to allow raw pointers.
|
||||
|
||||
.. cpp:type:: Transform::type
|
||||
|
||||
|
|
|
@ -279,7 +279,7 @@ For example:
|
|||
|
||||
.. note::
|
||||
|
||||
Currently the markup serves only to whitelist raw pointer use, and
|
||||
Currently the markup serves only to allow raw pointer use, and
|
||||
show that you've thought about the use of the raw pointers. Eventually
|
||||
we hope to implement `Boost.Python-like raw pointer policies`_ for
|
||||
managing object ownership.
|
||||
|
|
|
@ -1249,7 +1249,7 @@ int main(int argc, char **argv)
|
|||
size = len(open('test_exceptions_allowed.js').read())
|
||||
shutil.copyfile('test_exceptions_allowed.js', 'orig.js')
|
||||
|
||||
# check that an empty whitelist works properly (as in, same as exceptions disabled)
|
||||
# check that an empty allow list works properly (as in, same as exceptions disabled)
|
||||
src = path_from_root('tests', 'core', 'test_exceptions_allowed.cpp')
|
||||
empty_output = path_from_root('tests', 'core', 'test_exceptions_allowed_empty.out')
|
||||
|
||||
|
|
|
@ -1963,7 +1963,7 @@ int f() {
|
|||
expected = fix(expected)
|
||||
self.assertIdentical(expected, js.replace('\r\n', '\n').replace('\n\n', '\n').replace('\n\n', '\n'))
|
||||
|
||||
if input not in [ # blacklist of tests that are native-optimizer only
|
||||
if input not in [ # tests that are native-optimizer only
|
||||
path_from_root('tests', 'optimizer', 'asmLastOpts.js'),
|
||||
path_from_root('tests', 'optimizer', '3154.js')
|
||||
]:
|
||||
|
|
|
@ -23,7 +23,7 @@ def generate(env, emscripten_path=None, **kw):
|
|||
for var in ['EM_CACHE', 'EMCC_DEBUG', 'EMTEST_BROWSER',
|
||||
'EMMAKEN_JUST_CONFIGURE', 'EMCC_CFLAGS', 'EMCC_TEMP_DIR',
|
||||
'EMCC_AUTODEBUG', 'EM_COMPILER_WRAPPER',
|
||||
'EMMAKEN_COMPILER', 'EMMAKEN_CFLAGS', 'EMCC_JSOPT_BLACKLIST',
|
||||
'EMMAKEN_COMPILER', 'EMMAKEN_CFLAGS',
|
||||
'MOZ_DISABLE_AUTO_SAFE_MODE', 'EMCC_STDERR_FILE',
|
||||
'EMSCRIPTEN_SUPPRESS_USAGE_WARNING', 'NODE_PATH', 'EMCC_JSOPT_MIN_CHUNK_SIZE',
|
||||
'EMCC_JSOPT_MAX_CHUNK_SIZE', 'EMCC_SAVE_OPT_TEMP', 'EMCC_CORES', 'EMCC_NO_OPT_SORT',
|
||||
|
|
Загрузка…
Ссылка в новой задаче