platform_nifs.h

Include dependency graph for platform_nifs.h:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "5" [label="stdbool.h" tooltip="stdbool.h"] "18" [label="refc_binary.h" tooltip="refc_binary.h"] "24" [label="atom.h" tooltip="atom.h"] "13" [label="assert.h" tooltip="assert.h"] "16" [label="utils.h" tooltip="utils.h"] "21" [label="synclist.h" tooltip="synclist.h"] "19" [label="list.h" tooltip="list.h"] "6" [label="stdint.h" tooltip="stdint.h"] "8" [label="stdlib.h" tooltip="stdlib.h"] "27" [label="context.h" tooltip="context.h"] "10" [label="memory.h" tooltip="memory.h"] "23" [label="module.h" tooltip="module.h"] "32" [label="valueshashtable.h" tooltip="valueshashtable.h"] "20" [label="resources.h" tooltip="resources.h"] "3" [label="term.h" tooltip="term.h"] "17" [label="stddef.h" tooltip="stddef.h"] "11" [label="erl_nif.h" tooltip="erl_nif.h"] "2" [label="exportedfunction.h" tooltip="exportedfunction.h"] "14" [label="limits.h" tooltip="limits.h"] "25" [label="atom_table.h" tooltip="atom_table.h"] "4" [label="sys/types.h" tooltip="sys/types.h"] "9" [label="string.h" tooltip="string.h"] "12" [label="term_typedef.h" tooltip="term_typedef.h"] "28" [label="globalcontext.h" tooltip="globalcontext.h"] "1" [label="/__w/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h" tooltip="/__w/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h" fillcolor="#BFBFBF"] "22" [label="smp.h" tooltip="smp.h"] "26" [label="atomshashtable.h" tooltip="atomshashtable.h"] "31" [label="timer_list.h" tooltip="timer_list.h"] "30" [label="mailbox.h" tooltip="mailbox.h"] "7" [label="stdio.h" tooltip="stdio.h"] "29" [label="ets.h" tooltip="ets.h"] "15" [label="inttypes.h" tooltip="inttypes.h"] "18" -> "5" [dir=forward tooltip="include"] "18" -> "8" [dir=forward tooltip="include"] "18" -> "19" [dir=forward tooltip="include"] "18" -> "20" [dir=forward tooltip="include"] "24" -> "6" [dir=forward tooltip="include"] "24" -> "8" [dir=forward tooltip="include"] "16" -> "17" [dir=forward tooltip="include"] "16" -> "7" [dir=forward tooltip="include"] "16" -> "8" [dir=forward tooltip="include"] "21" -> "7" [dir=forward tooltip="include"] "21" -> "19" [dir=forward tooltip="include"] "21" -> "22" [dir=forward tooltip="include"] "19" -> "5" [dir=forward tooltip="include"] "27" -> "28" [dir=forward tooltip="include"] "27" -> "19" [dir=forward tooltip="include"] "27" -> "30" [dir=forward tooltip="include"] "27" -> "22" [dir=forward tooltip="include"] "27" -> "3" [dir=forward tooltip="include"] "27" -> "31" [dir=forward tooltip="include"] "10" -> "6" [dir=forward tooltip="include"] "10" -> "8" [dir=forward tooltip="include"] "10" -> "11" [dir=forward tooltip="include"] "10" -> "12" [dir=forward tooltip="include"] "10" -> "16" [dir=forward tooltip="include"] "23" -> "5" [dir=forward tooltip="include"] "23" -> "6" [dir=forward tooltip="include"] "23" -> "24" [dir=forward tooltip="include"] "23" -> "25" [dir=forward tooltip="include"] "23" -> "26" [dir=forward tooltip="include"] "23" -> "27" [dir=forward tooltip="include"] "23" -> "2" [dir=forward tooltip="include"] "23" -> "28" [dir=forward tooltip="include"] "23" -> "3" [dir=forward tooltip="include"] "23" -> "32" [dir=forward tooltip="include"] "20" -> "8" [dir=forward tooltip="include"] "20" -> "11" [dir=forward tooltip="include"] "20" -> "19" [dir=forward tooltip="include"] "20" -> "10" [dir=forward tooltip="include"] "20" -> "21" [dir=forward tooltip="include"] "3" -> "4" [dir=forward tooltip="include"] "3" -> "5" [dir=forward tooltip="include"] "3" -> "6" [dir=forward tooltip="include"] "3" -> "7" [dir=forward tooltip="include"] "3" -> "8" [dir=forward tooltip="include"] "3" -> "9" [dir=forward tooltip="include"] "3" -> "10" [dir=forward tooltip="include"] "3" -> "18" [dir=forward tooltip="include"] "3" -> "16" [dir=forward tooltip="include"] "3" -> "12" [dir=forward tooltip="include"] "11" -> "12" [dir=forward tooltip="include"] "2" -> "3" [dir=forward tooltip="include"] "25" -> "5" [dir=forward tooltip="include"] "25" -> "24" [dir=forward tooltip="include"] "12" -> "13" [dir=forward tooltip="include"] "12" -> "14" [dir=forward tooltip="include"] "12" -> "15" [dir=forward tooltip="include"] "12" -> "6" [dir=forward tooltip="include"] "28" -> "6" [dir=forward tooltip="include"] "28" -> "24" [dir=forward tooltip="include"] "28" -> "25" [dir=forward tooltip="include"] "28" -> "11" [dir=forward tooltip="include"] "28" -> "29" [dir=forward tooltip="include"] "28" -> "19" [dir=forward tooltip="include"] "28" -> "30" [dir=forward tooltip="include"] "28" -> "22" [dir=forward tooltip="include"] "28" -> "21" [dir=forward tooltip="include"] "28" -> "3" [dir=forward tooltip="include"] "28" -> "31" [dir=forward tooltip="include"] "1" -> "2" [dir=forward tooltip="include"] "1" -> "23" [dir=forward tooltip="include"] "22" -> "5" [dir=forward tooltip="include"] "26" -> "24" [dir=forward tooltip="include"] "31" -> "5" [dir=forward tooltip="include"] "31" -> "6" [dir=forward tooltip="include"] "31" -> "19" [dir=forward tooltip="include"] "30" -> "5" [dir=forward tooltip="include"] "30" -> "19" [dir=forward tooltip="include"] "30" -> "12" [dir=forward tooltip="include"] "30" -> "16" [dir=forward tooltip="include"] "29" -> "19" [dir=forward tooltip="include"] "29" -> "21" [dir=forward tooltip="include"] "29" -> "3" [dir=forward tooltip="include"] }

This graph shows which files directly or indirectly include platform_nifs.h:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="/__w/AtomVM/AtomVM/src/libAtomVM/nifs.c" tooltip="/__w/AtomVM/AtomVM/src/libAtomVM/nifs.c"] "1" [label="/__w/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h" tooltip="/__w/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h" fillcolor="#BFBFBF"] "1" -> "2" [dir=back tooltip="include"] }

Functions

const struct Nif *platform_nifs_get_nif(const char *nifname)

Returns the Nif assocatiated with a nif name.

This function is used to locate platform-specific Nifs. Each platform must include an implementation of this function, even if it just returns NULL.

Parameters:
  • nifname – a null-terminated module:function/arity name

Returns:

the Nif structure associated with the supplied nif name, or NULL, if there is no such Nif.