From 3afbfbf5779df7a9936beb5d9f8bcfd269a4fd45 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Sat, 1 Jun 2024 04:47:36 -0700 Subject: [PATCH] master: correct comment for setting void_ptr. --- example/jit/compare_change.cpp | 2 +- example/jit/compile.cpp | 2 +- example/jit/dynamic.cpp | 2 +- example/jit/get_started.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/example/jit/compare_change.cpp b/example/jit/compare_change.cpp index 65f30741b..75104e016 100644 --- a/example/jit/compare_change.cpp +++ b/example/jit/compare_change.cpp @@ -84,7 +84,7 @@ bool compare_change(void) return false; } // - // f_ptr + // void_ptr std::string function_name = "cppad_jit_f"; void* void_ptr = dll_linker(function_name, err_msg); if( err_msg != "" ) diff --git a/example/jit/compile.cpp b/example/jit/compile.cpp index 7c14e5043..50d37537a 100644 --- a/example/jit/compile.cpp +++ b/example/jit/compile.cpp @@ -105,7 +105,7 @@ bool compile(void) return false; } // - // f_ptr + // void_ptr std::string function_name = "cppad_jit_f"; void* void_ptr = dll_linker(function_name, err_msg); if( err_msg != "" ) diff --git a/example/jit/dynamic.cpp b/example/jit/dynamic.cpp index 06b388df7..d2826f10d 100644 --- a/example/jit/dynamic.cpp +++ b/example/jit/dynamic.cpp @@ -83,7 +83,7 @@ bool dynamic(void) return false; } // - // f_ptr + // void_ptr std::string function_name = "cppad_jit_f"; void* void_ptr = dll_linker(function_name, err_msg); if( err_msg != "" ) diff --git a/example/jit/get_started.cpp b/example/jit/get_started.cpp index c1274d6c4..facae3cc4 100644 --- a/example/jit/get_started.cpp +++ b/example/jit/get_started.cpp @@ -122,7 +122,7 @@ bool get_started(void) return false; } // - // g_ptr + // void_ptr std::string function_name = "cppad_jit_g"; void* void_ptr = dll_linker(function_name, err_msg); if( err_msg != "" )