Skip to content

Commit

Permalink
Merge pull request #243 from Quansight-Labs/multidomains
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbell10 committed May 1, 2020
2 parents a26674f + 4eb56b2 commit c9d9bdc
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 61 deletions.
2 changes: 1 addition & 1 deletion ci/azure-run-clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
sudo apt-get install -y clang-format-8
displayName: Install clang-format
- bash: |
clang-format-8 -i uarray/_uarray_dispatch.cxx
clang-format-8 -i uarray/_uarray_dispatch.cxx uarray/small_dynamic_array.h
if [ "$(git diff)" != "" ]; then
echo "Detected formatting errors, suggested changes below:"
git diff
Expand Down
6 changes: 5 additions & 1 deletion docs/libauthor_docs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ the last is optional.
``__ua_domain__`` is a string containing the domain of the backend. This is,
by convention, the name of the module (or one of its dependencies or parents)
that contains the multimethods. For example, ``scipy`` and ``numpy.fft`` could
both use the ``numpy`` domain.
both be in the ``numpy`` domain or one of its subdomains.

Additionally, ``__ua_domain__`` can be a sequence of domains, such as a tuple or
list of strings. This allows a single backend to implement functions from more
than one domain.

``__ua_function__``
-------------------
Expand Down

0 comments on commit c9d9bdc

Please sign in to comment.