Skip to content

Polish API unsigned char* vs. void* #174

Open
@karel-m

Description

@karel-m

The discussion started in #171

instead of:

int fnc(const unsigned char *in, unsigned long inlen, unsigned char *out, unsigned long *outlen)
{
   /* some code */
}

use rather:

int fnc(const void *inptr, unsigned long inlen, void *outptr, unsigned long *outlen)
{
   const unsigned char *in = inptr
   unsigned char *out = outptr;
   /* some code */
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions