Skip to content

Commit

Permalink
master: correct comment for setting void_ptr.
Browse files Browse the repository at this point in the history
  • Loading branch information
bradbell committed Jun 1, 2024
1 parent 083a11c commit 3afbfbf
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion example/jit/compare_change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" )
Expand Down
2 changes: 1 addition & 1 deletion example/jit/compile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" )
Expand Down
2 changes: 1 addition & 1 deletion example/jit/dynamic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" )
Expand Down
2 changes: 1 addition & 1 deletion example/jit/get_started.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" )
Expand Down

0 comments on commit 3afbfbf

Please sign in to comment.