Skip to content

Commit

Permalink
Remove declaration of undefined function __getDynamicPointerType. NFC (
Browse files Browse the repository at this point in the history
…#18271)

I believe this function was removed from the codebase in
78568fe.
  • Loading branch information
sbc100 committed Nov 30, 2022
1 parent 0c10ba8 commit 02cc1ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions site/source/docs/api_reference/bind.h.rst
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,7 @@ select_overload and select_const


Functions
=============

.. cpp:function:: void* __getDynamicPointerType(void* p)


:param void* p

=========

.. cpp:function:: void function()

Expand Down
2 changes: 0 additions & 2 deletions system/include/emscripten/bind.h
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,6 @@ EMSCRIPTEN_ALWAYS_INLINE const char* getSignature(Return (*)(Args...)) {
// FUNCTIONS
////////////////////////////////////////////////////////////////////////////////

extern "C" void* __getDynamicPointerType(void* p);

template<typename ReturnType, typename... Args, typename... Policies>
void function(const char* name, ReturnType (*fn)(Args...), Policies...) {
using namespace internal;
Expand Down

0 comments on commit 02cc1ee

Please sign in to comment.