Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -9,7 +9,7 @@
|
|||
:- implementation.
|
||||
|
||||
% The actual FFI code begins here.
|
||||
:- pragma foreign_decl("C", "char *strdup(const char *s);").
|
||||
:- pragma foreign_decl("C", "#include <string.h>").
|
||||
|
||||
:- func strdup(string::in) = (string::out) is det.
|
||||
:- pragma foreign_proc("C", strdup(S::in) = (SD::out),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue