Skip to content

Commit

Permalink
typo fixes and OSX fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkern committed Sep 30, 2004
1 parent 9cdf025 commit a073748
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion weave/base_info.py
Expand Up @@ -135,7 +135,7 @@ def module_init_code(self):
def unique_values(lst):
all_values = []
for value in lst:
if value not in all_values:
if value not in all_values or value == '-framework':
all_values.append(value)
return all_values

4 changes: 2 additions & 2 deletions weave/c_spec.py
Expand Up @@ -119,9 +119,9 @@ def generate_build_info(self):
for warning in self.warnings:
info.add_warning(warning)
for arg in self.extra_compile_args:
info.add_extra_compile_args(arg)
info.add_extra_compile_arg(arg)
for arg in self.extra_link_args:
info.add_extra_link_args(arg)
info.add_extra_link_arg(arg)
return info

def type_match(self,value):
Expand Down
4 changes: 2 additions & 2 deletions weave/inline_tools.py
Expand Up @@ -176,7 +176,7 @@ def inline(code,arg_names=[],local_dict = None, global_dict = None,
compiling. On windows, it understands 'msvc' and 'gcc'
as well as all the compiler names understood by
distutils. On Unix, it'll only understand the values
understoof by distutils. ( I should add 'gcc' though
understood by distutils. ( I should add 'gcc' though
to this).
On windows, the compiler defaults to the Microsoft C++
Expand Down Expand Up @@ -207,7 +207,7 @@ def inline(code,arg_names=[],local_dict = None, global_dict = None,
pasted at the end of a #include statement in the
C++ code.
customize -- optional. base_info.custom_info object. An alternative
way to specifiy support_code, headers, etc. needed by
way to specify support_code, headers, etc. needed by
the function see the compiler.base_info module for more
details. (not sure this'll be used much).
type_converters -- optional. list of type converters. These
Expand Down

0 comments on commit a073748

Please sign in to comment.