summaryrefslogtreecommitdiffhomepage
path: root/docs/cvec_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-08-10 21:17:48 +0200
committerTyge Løvset <[email protected]>2023-08-10 21:17:48 +0200
commitbe5651c9fc3d3ecd2d9d24e6e4763260ef86de41 (patch)
treec9e9f5bc6814716b4faac75833cc1ecc1371c8c5 /docs/cvec_api.md
parentc27c266b6c4ae0e5e535b18c3790ee97416412b9 (diff)
downloadSTC-modified-be5651c9fc3d3ecd2d9d24e6e4763260ef86de41.tar.gz
STC-modified-be5651c9fc3d3ecd2d9d24e6e4763260ef86de41.zip
Update template.h - also renamed i_cmp_native => i_use_cmp
Diffstat (limited to 'docs/cvec_api.md')
-rw-r--r--docs/cvec_api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cvec_api.md b/docs/cvec_api.md
index 3f827df6..8997ed51 100644
--- a/docs/cvec_api.md
+++ b/docs/cvec_api.md
@@ -15,7 +15,7 @@ See the c++ class [std::vector](https://en.cppreference.com/w/cpp/container/vect
#define i_type <t> // container type name
#define i_key <t> // element type: REQUIRED. Note: i_val* may be specified instead of i_key*.
#define i_cmp <f> // three-way compare two i_keyraw*
-#define i_cmp_native // define instead of i_cmp only when i_key is an integral/native-type.
+#define i_use_cmp // define instead of i_cmp only when i_key is an integral/native-type.
#define i_keydrop <f> // destroy value func - defaults to empty destruct
#define i_keyclone <f> // REQUIRED IF i_keydrop defined
@@ -224,4 +224,4 @@ int main(void) {
c_drop(UVec, &vec, &vec2); // cleanup
}
-``` \ No newline at end of file
+```